瀏覽代碼

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')