mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-27 10:58:37 -06:00
Fixed test from #3211 follow-up work
This commit is contained in:
parent
5aa4772507
commit
f4560467a3
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user