Skip to content

Commit

Permalink
adjustment to test
Browse files Browse the repository at this point in the history
  • Loading branch information
asinn134 committed Nov 12, 2024
1 parent fcb8338 commit 56f6cf6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ def test_get_filtered_projects(test_client, db_session, auth_headers):
assert len(get_data['records']) == batch_size
assert all(project.mine_guid == mine_guid for project in projects)
for i in range(len(get_data['records']) - 1):
assert datetime.strptime(get_data['records'][i]['update_timestamp'], '%Y-%m-%d') >= datetime.strptime(
get_data['records'][i + 1]['update_timestamp'], '%Y-%m-%d')
assert datetime.strptime(get_data['records'][i]['update_timestamp'], '%Y-%m-%d-%H-%M') >= datetime.strptime(
get_data['records'][i + 1]['update_timestamp'], '%Y-%m-%d-%H-%M')

0 comments on commit 56f6cf6

Please sign in to comment.