1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixed test from #3211 follow-up work

This commit is contained in:
Jeremy Stretch
2019-05-29 10:51:49 -04:00
parent 28facca291
commit 0804c1acbd

View File

@ -976,7 +976,7 @@ class VLANTest(APITestCase):
content = json.loads(response.content.decode('utf-8'))
self.assertIn('detail', content)
self.assertTrue(content['detail'].startswith('You tried deleting a model that is protected by:'))
self.assertTrue(content['detail'].startswith('Unable to delete object.'))
class ServiceTest(APITestCase):