Skip to content

Commit

Permalink
Update test/unit/app/managers/test_markdown_export.py
Browse files Browse the repository at this point in the history
changing format of string time to more closely match iso format
  • Loading branch information
assuntad23 authored Oct 17, 2023
1 parent 8384c31 commit cdc34a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/app/managers/test_markdown_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def test_generate_invocation_time(self):
invocation = self._new_invocation()
self.app.workflow_manager.get_invocation.side_effect = [invocation] # type: ignore[attr-defined,union-attr]
result = self._to_basic(example)
expectedtime = invocation.create_time.strftime("%m/%d/%Y, %H:%M:%S")
expectedtime = invocation.create_time.strftime("%Y-%m-%d, %H:%M:%S")
assert f"\n {expectedtime}" in result

def test_job_parameters(self):
Expand Down

0 comments on commit cdc34a1

Please sign in to comment.