소스 검색

Fixed test from #3211 follow-up work

Jeremy Stretch 7 년 전
부모
커밋
0804c1acbd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      netbox/ipam/tests/test_api.py

+ 1 - 1
netbox/ipam/tests/test_api.py

@@ -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):