Skip to content
Snippets Groups Projects
Commit fae040a6 authored by Stéphane Schoorens's avatar Stéphane Schoorens
Browse files

add test for transcoding request refs #29848

parent 6b02a49e
No related branches found
No related tags found
No related merge requests found
......@@ -53,5 +53,7 @@ class PodClientTest(TestCase):
response = pod_client.videos.post(data=data, files=files)
self.assertTrue(response['success'], response.get('error'))
self.assertEqual(data['title'], 'unittest video')
response = pod_client.launch_encode_view.get(data={'slug': response['data']['slug']})
self.assertTrue(response['success'], response.get('error'))
response = pod_client.videos.delete(resource_id=response['data']['id'])
self.assertTrue(response['success'], response.get('error'))
......@@ -52,6 +52,8 @@ class ResourceTest(TestCase):
def test_get(self):
for resource_name in API_URLS:
if resource_name in ['launch_encode_view']:
continue
resource = Resource(HOST, API_KEY, resource_name)
response = resource.get()
self.assertTrue(response['success'], response.get('error'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment