From cdc34a1f36e121750e85582fe0d0afafcde34acb Mon Sep 17 00:00:00 2001 From: Assunta DeSanto Date: Tue, 17 Oct 2023 12:28:45 -0400 Subject: [PATCH] Update test/unit/app/managers/test_markdown_export.py changing format of string time to more closely match iso format --- test/unit/app/managers/test_markdown_export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/app/managers/test_markdown_export.py b/test/unit/app/managers/test_markdown_export.py index db3f59e7f5dc..3710ff6831b8 100644 --- a/test/unit/app/managers/test_markdown_export.py +++ b/test/unit/app/managers/test_markdown_export.py @@ -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):