Add upload definition action in test
Add upload definition action in get_workbook_definition test, because if definition isn't exist, get request returns 404, but it's a positive test Change-Id: I5a3c57e7842fbbc80034226926b2a88141192cd7
This commit is contained in:
parent
6fc45235d1
commit
9e9017bccf
@ -89,6 +89,7 @@ class SanityTests(base.TestCase):
|
|||||||
def test_get_workbook_definition(self):
|
def test_get_workbook_definition(self):
|
||||||
self.client.create_obj('workbooks', 'test')
|
self.client.create_obj('workbooks', 'test')
|
||||||
self.obj.append(['workbooks', 'test'])
|
self.obj.append(['workbooks', 'test'])
|
||||||
|
self.client.upload_workbook_definition('test')
|
||||||
resp, body = self.client.get_workbook_definition('test')
|
resp, body = self.client.get_workbook_definition('test')
|
||||||
|
|
||||||
self.assertEqual(200, resp.status)
|
self.assertEqual(200, resp.status)
|
||||||
|
Loading…
Reference in New Issue
Block a user