Skip to content

Commit

Permalink
cov
Browse files Browse the repository at this point in the history
  • Loading branch information
mxsasha committed Jun 28, 2023
1 parent d5f23bb commit 04015b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion irrd/storage/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ def description(self) -> str:
)
elif self.auth_change_descr:
return self.auth_change_descr
else:
else: # pragma: no cover
return "<unknown>"


Expand Down
1 change: 1 addition & 0 deletions irrd/webui/tests/test_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ def test_no_permissions(self, test_client, irrd_db_session_with_user):

def test_object_not_exists(self, test_client, irrd_db_session_with_user):
session_provider, user = irrd_db_session_with_user
self.pre_login(session_provider, user)
self._login_if_needed(test_client, user)
response = test_client.get(self.url_template.format(uuid=uuid.uuid4()))
assert response.status_code == 404

0 comments on commit 04015b0

Please sign in to comment.