Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
renatoalmeidaoliveira committed Jul 21, 2024
1 parent b6d756e commit e841acb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions nb_service/filtersets.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ class Meta:
"id",
"name",
"clients",
"backup_profile",
]

class ApplicationFilterSet(NetBoxModelFilterSet):
Expand Down
2 changes: 1 addition & 1 deletion nb_service/tests/application/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ def setUpTestData(cls):
"devices": [devices[0].pk, devices[1].pk],
}

cls.brief_fields = ['display', 'id', 'name']
cls.brief_fields = ['devices', 'display', 'id', 'name', 'ports', 'protocol', 'version', 'vm']

0 comments on commit e841acb

Please sign in to comment.