Skip to content

Commit

Permalink
test(access): remove test cases for Team prarent_object
Browse files Browse the repository at this point in the history
not required for model

ref: #605 #608
  • Loading branch information
jon-nfc committed Feb 19, 2025
1 parent 1663e98 commit 37aa9ff
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions app/access/tests/unit/team/test_team.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,22 @@ def setUpTestData(self):
)


def test_model_has_property_parent_object(self):
""" Check if model contains 'parent_object'
# def test_model_has_property_parent_object(self):
# """ Check if model contains 'parent_object'

This is a required property for all models that have a parent
"""
# This is a required property for all models that have a parent
# """

assert hasattr(self.model, 'parent_object')
# assert hasattr(self.model, 'parent_object')


def test_model_property_parent_object_returns_object(self):
""" Check if model contains 'parent_object'
# def test_model_property_parent_object_returns_object(self):
# """ Check if model contains 'parent_object'

This is a required property for all models that have a parent
"""
# This is a required property for all models that have a parent
# """

assert self.item.parent_object is self.parent_item
# assert self.item.parent_object is self.parent_item


@pytest.mark.skip(reason="to be written")
Expand Down

0 comments on commit 37aa9ff

Please sign in to comment.