Skip to content

Commit

Permalink
resolve test issues with v1.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
whitej6 committed Dec 7, 2022
1 parent 62fd4fd commit 0a85890
Showing 1 changed file with 104 additions and 0 deletions.
104 changes: 104 additions & 0 deletions nautobot_firewall_models/tests/test_ui_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ def test_bulk_import_objects_with_permission_csv_file(self):
def test_delete_object_without_permission(self):
pass

@skip("on_delete set to PROTECT")
def test_delete_object_with_permission_and_xwwwformurlencoded(self):
pass

@skip("BROKEN IN v1.5.2 FIXED in v1.5.5")
def test_list_objects_with_permission(self):
pass


class FQDNUIViewTest(ViewTestCases.PrimaryObjectViewTestCase):
"""Test the Protocol viewsets."""
Expand Down Expand Up @@ -75,6 +83,14 @@ def test_bulk_import_objects_with_permission_csv_file(self):
def test_delete_object_without_permission(self):
pass

@skip("on_delete set to PROTECT")
def test_delete_object_with_permission_and_xwwwformurlencoded(self):
pass

@skip("BROKEN IN v1.5.2 FIXED in v1.5.5")
def test_list_objects_with_permission(self):
pass


class AddressObjectUIViewTest(ViewTestCases.PrimaryObjectViewTestCase):
"""Test the AddressObject viewsets."""
Expand Down Expand Up @@ -127,6 +143,14 @@ def test_delete_object_with_permission(self):
def test_delete_object_without_permission(self):
pass

@skip("on_delete set to PROTECT")
def test_delete_object_with_permission_and_xwwwformurlencoded(self):
pass

@skip("BROKEN IN v1.5.2 FIXED in v1.5.5")
def test_list_objects_with_permission(self):
pass


class AddressObjectGroupUIViewTest(ViewTestCases.PrimaryObjectViewTestCase):
"""Test the AddressObjectGroup viewsets."""
Expand Down Expand Up @@ -178,6 +202,14 @@ def test_delete_object_with_permission(self):
def test_delete_object_without_permission(self):
pass

@skip("on_delete set to PROTECT")
def test_delete_object_with_permission_and_xwwwformurlencoded(self):
pass

@skip("BROKEN IN v1.5.2 FIXED in v1.5.5")
def test_list_objects_with_permission(self):
pass


class ApplicationObjectUIViewTest(ViewTestCases.PrimaryObjectViewTestCase):
"""Test the ApplicationObject viewsets."""
Expand Down Expand Up @@ -229,6 +261,14 @@ def test_delete_object_with_permission(self):
def test_delete_object_without_permission(self):
pass

@skip("on_delete set to PROTECT")
def test_delete_object_with_permission_and_xwwwformurlencoded(self):
pass

@skip("BROKEN IN v1.5.2 FIXED in v1.5.5")
def test_list_objects_with_permission(self):
pass


class ApplicationObjectGroupUIViewTest(ViewTestCases.PrimaryObjectViewTestCase):
"""Test the ApplicationObjectGroup viewsets."""
Expand Down Expand Up @@ -280,6 +320,14 @@ def test_delete_object_with_permission(self):
def test_delete_object_without_permission(self):
pass

@skip("on_delete set to PROTECT")
def test_delete_object_with_permission_and_xwwwformurlencoded(self):
pass

@skip("BROKEN IN v1.5.2 FIXED in v1.5.5")
def test_list_objects_with_permission(self):
pass


class ServiceObjectUIViewTest(ViewTestCases.PrimaryObjectViewTestCase):
"""Test the ServiceObject viewsets."""
Expand Down Expand Up @@ -331,6 +379,14 @@ def test_delete_object_with_permission(self):
def test_delete_object_without_permission(self):
pass

@skip("on_delete set to PROTECT")
def test_delete_object_with_permission_and_xwwwformurlencoded(self):
pass

@skip("BROKEN IN v1.5.2 FIXED in v1.5.5")
def test_list_objects_with_permission(self):
pass


class ServiceGroupUIViewTest(ViewTestCases.PrimaryObjectViewTestCase):
"""Test the ServiceGroup viewsets."""
Expand Down Expand Up @@ -382,6 +438,14 @@ def test_delete_object_with_permission(self):
def test_delete_object_without_permission(self):
pass

@skip("on_delete set to PROTECT")
def test_delete_object_with_permission_and_xwwwformurlencoded(self):
pass

@skip("BROKEN IN v1.5.2 FIXED in v1.5.5")
def test_list_objects_with_permission(self):
pass


class UserObjectUIViewTest(ViewTestCases.PrimaryObjectViewTestCase):
"""Test the User viewsets."""
Expand Down Expand Up @@ -432,6 +496,14 @@ def test_delete_object_with_permission(self):
def test_delete_object_without_permission(self):
pass

@skip("on_delete set to PROTECT")
def test_delete_object_with_permission_and_xwwwformurlencoded(self):
pass

@skip("BROKEN IN v1.5.2 FIXED in v1.5.5")
def test_list_objects_with_permission(self):
pass


class UserObjectGroupUIViewTest(ViewTestCases.PrimaryObjectViewTestCase):
"""Test the UserGroup viewsets."""
Expand Down Expand Up @@ -483,6 +555,14 @@ def test_delete_object_with_permission(self):
def test_delete_object_without_permission(self):
pass

@skip("on_delete set to PROTECT")
def test_delete_object_with_permission_and_xwwwformurlencoded(self):
pass

@skip("BROKEN IN v1.5.2 FIXED in v1.5.5")
def test_list_objects_with_permission(self):
pass


class ZoneUIViewTest(ViewTestCases.PrimaryObjectViewTestCase):
"""Test the Zone viewsets."""
Expand Down Expand Up @@ -533,6 +613,14 @@ def test_delete_object_with_permission(self):
def test_delete_object_without_permission(self):
pass

@skip("on_delete set to PROTECT")
def test_delete_object_with_permission_and_xwwwformurlencoded(self):
pass

@skip("BROKEN IN v1.5.2 FIXED in v1.5.5")
def test_list_objects_with_permission(self):
pass


class PolicyRuleUIViewTest(ViewTestCases.PrimaryObjectViewTestCase):
"""Test the PolicyRule viewsets."""
Expand Down Expand Up @@ -597,6 +685,14 @@ def test_delete_object_with_permission(self):
def test_delete_object_without_permission(self):
pass

@skip("on_delete set to PROTECT")
def test_delete_object_with_permission_and_xwwwformurlencoded(self):
pass

@skip("BROKEN IN v1.5.2 FIXED in v1.5.5")
def test_list_objects_with_permission(self):
pass


class PolicyUIViewTest(ViewTestCases.PrimaryObjectViewTestCase):
"""Test the Policy viewsets."""
Expand Down Expand Up @@ -652,3 +748,11 @@ def test_delete_object_with_permission(self):
@skip("on_delete set to PROTECT")
def test_delete_object_without_permission(self):
pass

@skip("on_delete set to PROTECT")
def test_delete_object_with_permission_and_xwwwformurlencoded(self):
pass

@skip("BROKEN IN v1.5.2 FIXED in v1.5.5")
def test_list_objects_with_permission(self):
pass

0 comments on commit 0a85890

Please sign in to comment.