Skip to content
Snippets Groups Projects
Commit fa52285a authored by Roy de Goei's avatar Roy de Goei
Browse files

SDC-685: Fix in test data

parent ed3f4aa3
No related branches found
No related tags found
1 merge request!4SDC-685: Script which migrates ldvadmin data to ldv-spec-db
Pipeline #33824 passed
...@@ -52,4 +52,4 @@ class TestRESTAPI(rtest.APITestCase): ...@@ -52,4 +52,4 @@ class TestRESTAPI(rtest.APITestCase):
response = self.client.post('/ldvspec/api/v1/data-location/', data=dict(name='testname', uri='srm://myniceuri/'), response = self.client.post('/ldvspec/api/v1/data-location/', data=dict(name='testname', uri='srm://myniceuri/'),
format='json') format='json')
self.assertEqual(response_status.HTTP_201_CREATED, response.status_code) self.assertEqual(response_status.HTTP_201_CREATED, response.status_code)
self.assertEqual('myniceuri/', DataLocation.objects.get(name='testname').uri) self.assertEqual('srm://myniceuri/', DataLocation.objects.get(name='testname').uri)
\ No newline at end of file \ No newline at end of file
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