test(itam): remove test cases for os version model.parent_object as it's not required
ref: #605 #622
This commit is contained in:
@ -41,23 +41,3 @@ class OperatingSystemVersionModel(
|
||||
operating_system = self.parent_item,
|
||||
organization=organization,
|
||||
)
|
||||
|
||||
|
||||
|
||||
|
||||
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
|
||||
"""
|
||||
|
||||
assert hasattr(self.model, '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
|
||||
"""
|
||||
|
||||
assert self.item.parent_object == self.parent_item
|
||||
|
Reference in New Issue
Block a user