소스 검색

Fix test permissions

jeremystretch 4 년 전
부모
커밋
b21b6238cf
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      netbox/ipam/tests/test_views.py

+ 1 - 0
netbox/ipam/tests/test_views.py

@@ -720,6 +720,7 @@ class ServiceTestCase(ViewTestCases.PrimaryObjectViewTestCase):
             'description': 'New description',
         }
 
+    @override_settings(EXEMPT_VIEW_PERMISSIONS=['*'])
     def test_create_from_template(self):
         self.add_permissions('ipam.add_service')