Merge pull request #856 from nofusscomputing/test-functional-get-working
This commit is contained in:
@ -97,7 +97,7 @@ class ViewSetBase:
|
||||
|
||||
self.add_data.update({
|
||||
'organization': self.organization.id,
|
||||
'opened_by': self.view_user
|
||||
'opened_by': self.view_user.id
|
||||
})
|
||||
|
||||
|
||||
|
@ -28,6 +28,16 @@ class GitGroupModelTestCases(
|
||||
}
|
||||
|
||||
|
||||
@pytest.mark.skip( reason = 'test must be as part of serializer and viewset tests, not model' )
|
||||
def test_model_create_has_history_entry(self, model_contenttype, created_model, model):
|
||||
"""Model Created
|
||||
|
||||
Ensure that the model when created, added a `create` Audit History
|
||||
entry.
|
||||
"""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
def test_model_create_with_parent_sets_tenancy(self, created_model, model):
|
||||
"""Model Created
|
||||
|
@ -214,7 +214,7 @@ class ViewSetBase:
|
||||
self.add_data = {
|
||||
'enabled': True,
|
||||
'organization': self.add_organization.id,
|
||||
'software': self.software_add,
|
||||
'software': self.software_add.id,
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user