Skip to content

Commit

Permalink
#210: Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Viktor Bozhinov <45173816+VKTB@users.noreply.github.com>
  • Loading branch information
MRichards99 and VKTB authored Apr 26, 2021
1 parent d5c536f commit 2ffe5a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion datagateway_api/common/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def get_config_value(self, config_key):
try:
return self._config[config_key.value]
except KeyError:
sys.exit(f"Missing config value: {config_key}")
sys.exit(f"Missing config value: {config_key.value}")

def set_backend_type(self, backend_type):
"""
Expand Down
1 change: 0 additions & 1 deletion test/icat/test_session_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ def test_refresh_session(self, valid_icat_credentials_header, flask_test_app_ica
def test_valid_login(
self, flask_test_app_icat, icat_client, icat_query, request_body,
):
print(request_body)
login_response = flask_test_app_icat.post("/sessions", json=request_body)

icat_client.sessionId = login_response.json["sessionID"]
Expand Down

0 comments on commit 2ffe5a9

Please sign in to comment.