Adjust test to run on pipelines
This commit is contained in:
parent
061e20306a
commit
876a22c4ad
|
|
@ -117,4 +117,6 @@ class NewContentBlockMutationTest(TestCase):
|
|||
new_content_block = result.get('data').get('addContentBlock').get('newContentBlock')
|
||||
self.assertEqual(new_content_block.get('title'), title)
|
||||
self.assertEqual(len(new_content_block['contents']), 1)
|
||||
self.assertEqual(new_content_block['contents'], [{'type': 'image_url_block', 'value': {'url': '/test.png'}}])
|
||||
content = new_content_block['contents'][0]
|
||||
self.assertEqual(content.get('type'), 'image_url_block')
|
||||
self.assertEqual(content.get('value'), {'url': '/test.png'})
|
||||
|
|
|
|||
Loading…
Reference in New Issue