Skip to content

Commit

Permalink
Fix sessions and linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Reillyhewitson committed Nov 3, 2022
1 parent 0e7fc3d commit 6972dcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion datagateway_api/src/datagateway_api/database/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@

from datagateway_api.src.common.date_handler import DateHandler
from datagateway_api.src.common.exceptions import (
BadRequestError,
DatabaseError,
FilterError,
)
Expand Down
3 changes: 2 additions & 1 deletion test/datagateway_api/db/endpoints/test_update_by_id_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ def test_valid_update_with_id(
response_json = test_response.json

print(response_json["endDate"])
# The DB returns times with timezone indicators, but does not accept them being created.
# The DB returns times with timezone indicators,
# but does not accept them being created.
# This strips the timezone indicators out so that the results can be compared.
response_json["startDate"] = response_json["startDate"][:-6]

Expand Down

0 comments on commit 6972dcc

Please sign in to comment.