From af12d2536c1207dee8229988cfbe9a54d220c384 Mon Sep 17 00:00:00 2001 From: Yevhenii Semendiak Date: Mon, 8 Nov 2021 12:04:04 +0200 Subject: [PATCH] Fix job formater to display current cost properly (#2410) --- neuro-cli/src/neuro_cli/formatters/jobs.py | 2 +- ...JobOutputFormatter.test_job_on_preemptible_node[human]_0.ref | 2 +- ...stJobOutputFormatter.test_job_on_preemptible_node[iso]_0.ref | 2 +- ...utputFormatter.test_job_with_disk_volumes_short[human]_0.ref | 2 +- ...bOutputFormatter.test_job_with_disk_volumes_short[iso]_0.ref | 2 +- ...TestJobOutputFormatter.test_job_with_entrypoint[human]_0.ref | 2 +- .../TestJobOutputFormatter.test_job_with_entrypoint[iso]_0.ref | 2 +- ...estJobOutputFormatter.test_job_with_environment[human]_0.ref | 2 +- .../TestJobOutputFormatter.test_job_with_environment[iso]_0.ref | 2 +- ...putFormatter.test_job_with_life_span_with_value[human]_0.ref | 2 +- ...utputFormatter.test_job_with_life_span_with_value[iso]_0.ref | 2 +- ...Formatter.test_job_with_life_span_without_value[human]_0.ref | 2 +- ...utFormatter.test_job_with_life_span_without_value[iso]_0.ref | 2 +- .../TestJobOutputFormatter.test_job_with_name[human]_0.ref | 2 +- .../ascii/TestJobOutputFormatter.test_job_with_name[iso]_0.ref | 2 +- .../TestJobOutputFormatter.test_job_with_org_name[human]_0.ref | 2 +- .../TestJobOutputFormatter.test_job_with_org_name[iso]_0.ref | 2 +- ...obOutputFormatter.test_job_with_partial_credits[human]_0.ref | 2 +- ...tJobOutputFormatter.test_job_with_partial_credits[iso]_0.ref | 2 +- ...estJobOutputFormatter.test_job_with_preset_name[human]_0.ref | 2 +- .../TestJobOutputFormatter.test_job_with_preset_name[iso]_0.ref | 2 +- ...JobOutputFormatter.test_job_with_restart_policy[human]_0.ref | 2 +- ...stJobOutputFormatter.test_job_with_restart_policy[iso]_0.ref | 2 +- ...tJobOutputFormatter.test_job_with_secrets_short[human]_0.ref | 2 +- ...estJobOutputFormatter.test_job_with_secrets_short[iso]_0.ref | 2 +- .../TestJobOutputFormatter.test_job_with_tags[human]_0.ref | 2 +- .../ascii/TestJobOutputFormatter.test_job_with_tags[iso]_0.ref | 2 +- ...JobOutputFormatter.test_job_with_tags_wrap_tags[human]_0.ref | 2 +- ...stJobOutputFormatter.test_job_with_tags_wrap_tags[iso]_0.ref | 2 +- ...stJobOutputFormatter.test_job_with_volumes_long[human]_0.ref | 2 +- ...TestJobOutputFormatter.test_job_with_volumes_long[iso]_0.ref | 2 +- ...tJobOutputFormatter.test_job_with_volumes_short[human]_0.ref | 2 +- ...estJobOutputFormatter.test_job_with_volumes_short[iso]_0.ref | 2 +- ...estJobOutputFormatter.test_job_with_working_dir[human]_0.ref | 2 +- .../TestJobOutputFormatter.test_job_with_working_dir[iso]_0.ref | 2 +- .../ascii/TestJobOutputFormatter.test_pending_job[human]_0.ref | 2 +- .../ascii/TestJobOutputFormatter.test_pending_job[iso]_0.ref | 2 +- ...OutputFormatter.test_pending_job_no_description[human]_0.ref | 2 +- ...obOutputFormatter.test_pending_job_no_description[iso]_0.ref | 2 +- ...stJobOutputFormatter.test_pending_job_no_reason[human]_0.ref | 2 +- ...TestJobOutputFormatter.test_pending_job_no_reason[iso]_0.ref | 2 +- ...JobOutputFormatter.test_pending_job_with_reason[human]_0.ref | 2 +- ...stJobOutputFormatter.test_pending_job_with_reason[iso]_0.ref | 2 +- .../ascii/TestJobOutputFormatter.test_running_job[human]_0.ref | 2 +- .../ascii/TestJobOutputFormatter.test_running_job[iso]_0.ref | 2 +- ...putFormatter.test_running_job_with_status_items[human]_0.ref | 2 +- ...utputFormatter.test_running_job_with_status_items[iso]_0.ref | 2 +- .../TestJobOutputFormatter.test_running_named_job[human]_0.ref | 2 +- .../TestJobOutputFormatter.test_running_named_job[iso]_0.ref | 2 +- 49 files changed, 49 insertions(+), 49 deletions(-) diff --git a/neuro-cli/src/neuro_cli/formatters/jobs.py b/neuro-cli/src/neuro_cli/formatters/jobs.py index 6f7e82ce6..4f6ce4fe6 100644 --- a/neuro-cli/src/neuro_cli/formatters/jobs.py +++ b/neuro-cli/src/neuro_cli/formatters/jobs.py @@ -115,7 +115,7 @@ def __call__(self, job_status: JobDescription) -> RenderableType: table.add_row( "Price (credits / hour)", f"{job_status.price_credits_per_hour:.4f}" ) - table.add_row("Current cost", f"{job_status.price_credits_per_hour:.4f}") + table.add_row("Current cost", f"{job_status.total_price_credits:.4f}") resources = Table(box=None, show_header=False, show_edge=False) resources.add_column() diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_on_preemptible_node[human]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_on_preemptible_node[human]_0.ref index a09d283e5..a08ea6c4c 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_on_preemptible_node[human]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_on_preemptible_node[human]_0.ref @@ -6,7 +6,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 Round Robin True diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_on_preemptible_node[iso]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_on_preemptible_node[iso]_0.ref index 73d1df0b0..707d1ebb2 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_on_preemptible_node[iso]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_on_preemptible_node[iso]_0.ref @@ -6,7 +6,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 Round Robin True diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_disk_volumes_short[human]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_disk_volumes_short[human]_0.ref index 3ecdd30b9..45af637ec 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_disk_volumes_short[human]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_disk_volumes_short[human]_0.ref @@ -7,7 +7,7 @@ Job test-job Image image:test-image:sometag Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_disk_volumes_short[iso]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_disk_volumes_short[iso]_0.ref index 29faa499c..c089d86d7 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_disk_volumes_short[iso]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_disk_volumes_short[iso]_0.ref @@ -7,7 +7,7 @@ Job test-job Image image:test-image:sometag Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_entrypoint[human]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_entrypoint[human]_0.ref index a96028377..fadd7fb6b 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_entrypoint[human]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_entrypoint[human]_0.ref @@ -7,7 +7,7 @@ Job test-job Entrypoint /usr/bin/make Command test Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_entrypoint[iso]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_entrypoint[iso]_0.ref index 1328b3e6a..550a008b6 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_entrypoint[iso]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_entrypoint[iso]_0.ref @@ -7,7 +7,7 @@ Job test-job Entrypoint /usr/bin/make Command test Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_environment[human]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_environment[human]_0.ref index 22249aeee..da9d526e5 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_environment[human]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_environment[human]_0.ref @@ -7,7 +7,7 @@ Job test-job Image image:test-image:sometag Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_environment[iso]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_environment[iso]_0.ref index bf041cb2e..55adf6d70 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_environment[iso]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_environment[iso]_0.ref @@ -7,7 +7,7 @@ Job test-job Image image:test-image:sometag Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_life_span_with_value[human]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_life_span_with_value[human]_0.ref index 533b69acd..7c7d06c01 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_life_span_with_value[human]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_life_span_with_value[human]_0.ref @@ -6,7 +6,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 Life span 1d2h3m4s diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_life_span_with_value[iso]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_life_span_with_value[iso]_0.ref index 84acf726c..db2956958 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_life_span_with_value[iso]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_life_span_with_value[iso]_0.ref @@ -6,7 +6,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 Life span 1d2h3m4s diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_life_span_without_value[human]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_life_span_without_value[human]_0.ref index 3d90304eb..1a23b2922 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_life_span_without_value[human]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_life_span_without_value[human]_0.ref @@ -6,7 +6,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 Life span no limit diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_life_span_without_value[iso]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_life_span_without_value[iso]_0.ref index fe30e3d3f..bc43135fd 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_life_span_without_value[iso]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_life_span_without_value[iso]_0.ref @@ -6,7 +6,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 Life span no limit diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_name[human]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_name[human]_0.ref index fd9e1c661..02c399fad 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_name[human]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_name[human]_0.ref @@ -7,7 +7,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_name[iso]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_name[iso]_0.ref index 828d78caa..e776673ab 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_name[iso]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_name[iso]_0.ref @@ -7,7 +7,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_org_name[human]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_org_name[human]_0.ref index 576190eb0..330132316 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_org_name[human]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_org_name[human]_0.ref @@ -7,7 +7,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_org_name[iso]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_org_name[iso]_0.ref index d7c68dfa7..3c66de057 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_org_name[iso]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_org_name[iso]_0.ref @@ -7,7 +7,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_partial_credits[human]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_partial_credits[human]_0.ref index 2fd6bd0ba..d2effb58c 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_partial_credits[human]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_partial_credits[human]_0.ref @@ -7,7 +7,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 0.0010 - Current cost 0.0010 + Current cost 0.0100 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_partial_credits[iso]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_partial_credits[iso]_0.ref index bb592c09b..3bf498079 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_partial_credits[iso]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_partial_credits[iso]_0.ref @@ -7,7 +7,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 0.0010 - Current cost 0.0010 + Current cost 0.0100 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_preset_name[human]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_preset_name[human]_0.ref index 15c93b570..183fa62c1 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_preset_name[human]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_preset_name[human]_0.ref @@ -7,7 +7,7 @@ Job test-job Command test-command Preset cpu-small Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_preset_name[iso]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_preset_name[iso]_0.ref index 8271c2dbf..bc8393885 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_preset_name[iso]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_preset_name[iso]_0.ref @@ -7,7 +7,7 @@ Job test-job Command test-command Preset cpu-small Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_restart_policy[human]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_restart_policy[human]_0.ref index 02f3e0a96..2606883bb 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_restart_policy[human]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_restart_policy[human]_0.ref @@ -6,7 +6,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 Restart policy always diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_restart_policy[iso]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_restart_policy[iso]_0.ref index 08f4f5972..4d52d847f 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_restart_policy[iso]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_restart_policy[iso]_0.ref @@ -6,7 +6,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 Restart policy always diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_secrets_short[human]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_secrets_short[human]_0.ref index 02444168b..c40b4710f 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_secrets_short[human]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_secrets_short[human]_0.ref @@ -7,7 +7,7 @@ Job test-job Image image:test-image:sometag Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_secrets_short[iso]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_secrets_short[iso]_0.ref index c4322ab8c..48e2c9d4b 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_secrets_short[iso]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_secrets_short[iso]_0.ref @@ -7,7 +7,7 @@ Job test-job Image image:test-image:sometag Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_tags[human]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_tags[human]_0.ref index 635e2a2f4..8a1dd36ea 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_tags[human]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_tags[human]_0.ref @@ -7,7 +7,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_tags[iso]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_tags[iso]_0.ref index bd23720d2..0840bbfdc 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_tags[iso]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_tags[iso]_0.ref @@ -7,7 +7,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_tags_wrap_tags[human]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_tags_wrap_tags[human]_0.ref index 04632c612..40a5224e7 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_tags_wrap_tags[human]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_tags_wrap_tags[human]_0.ref @@ -7,7 +7,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_tags_wrap_tags[iso]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_tags_wrap_tags[iso]_0.ref index 3504b3a91..4f32b16be 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_tags_wrap_tags[iso]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_tags_wrap_tags[iso]_0.ref @@ -7,7 +7,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_volumes_long[human]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_volumes_long[human]_0.ref index 673c8c9f1..806a5fc45 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_volumes_long[human]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_volumes_long[human]_0.ref @@ -7,7 +7,7 @@ Job test-job Image image://test-cluster/test-user/test-image:sometag Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_volumes_long[iso]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_volumes_long[iso]_0.ref index ed1b6fb14..9fe5d2362 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_volumes_long[iso]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_volumes_long[iso]_0.ref @@ -7,7 +7,7 @@ Job test-job Image image://test-cluster/test-user/test-image:sometag Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_volumes_short[human]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_volumes_short[human]_0.ref index 4f7f769cb..a57c988b5 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_volumes_short[human]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_volumes_short[human]_0.ref @@ -7,7 +7,7 @@ Job test-job Image image:test-image:sometag Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_volumes_short[iso]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_volumes_short[iso]_0.ref index 520d43e53..ea4346859 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_volumes_short[iso]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_volumes_short[iso]_0.ref @@ -7,7 +7,7 @@ Job test-job Image image:test-image:sometag Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_working_dir[human]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_working_dir[human]_0.ref index 17e0f3e09..8629e502a 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_working_dir[human]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_working_dir[human]_0.ref @@ -8,7 +8,7 @@ Job test-job Command test-command Working dir /working/dir Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_working_dir[iso]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_working_dir[iso]_0.ref index ff3ada2a4..8fa1c4c76 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_working_dir[iso]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_job_with_working_dir[iso]_0.ref @@ -8,7 +8,7 @@ Job test-job Command test-command Working dir /working/dir Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job[human]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job[human]_0.ref index 01095c225..8fe9261bb 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job[human]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job[human]_0.ref @@ -6,7 +6,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job[iso]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job[iso]_0.ref index b94f93886..56d778ee2 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job[iso]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job[iso]_0.ref @@ -6,7 +6,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job_no_description[human]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job_no_description[human]_0.ref index e72c357e4..7e02d4361 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job_no_description[human]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job_no_description[human]_0.ref @@ -5,7 +5,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 Round Robin True diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job_no_description[iso]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job_no_description[iso]_0.ref index 77d0c57bd..2279b3da1 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job_no_description[iso]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job_no_description[iso]_0.ref @@ -5,7 +5,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 Round Robin True diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job_no_reason[human]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job_no_reason[human]_0.ref index 1baad9b44..4f048e0d6 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job_no_reason[human]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job_no_reason[human]_0.ref @@ -6,7 +6,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 Round Robin True diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job_no_reason[iso]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job_no_reason[iso]_0.ref index 71fe5fbb9..2daddf2c0 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job_no_reason[iso]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job_no_reason[iso]_0.ref @@ -6,7 +6,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 Round Robin True diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job_with_reason[human]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job_with_reason[human]_0.ref index fb5978a03..bd547d936 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job_with_reason[human]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job_with_reason[human]_0.ref @@ -6,7 +6,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 Round Robin True diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job_with_reason[iso]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job_with_reason[iso]_0.ref index 2e19d8671..66ab56e04 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job_with_reason[iso]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_pending_job_with_reason[iso]_0.ref @@ -6,7 +6,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 Round Robin True diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_running_job[human]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_running_job[human]_0.ref index aa29a69c8..98621b133 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_running_job[human]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_running_job[human]_0.ref @@ -6,7 +6,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_running_job[iso]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_running_job[iso]_0.ref index 70134ea56..1223cdf14 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_running_job[iso]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_running_job[iso]_0.ref @@ -6,7 +6,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_running_job_with_status_items[human]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_running_job_with_status_items[human]_0.ref index 382aa6177..dc44744b3 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_running_job_with_status_items[human]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_running_job_with_status_items[human]_0.ref @@ -6,7 +6,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_running_job_with_status_items[iso]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_running_job_with_status_items[iso]_0.ref index be98f5820..731d77a29 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_running_job_with_status_items[iso]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_running_job_with_status_items[iso]_0.ref @@ -6,7 +6,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_running_named_job[human]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_running_named_job[human]_0.ref index 172d97703..884116068 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_running_named_job[human]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_running_named_job[human]_0.ref @@ -7,7 +7,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False diff --git a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_running_named_job[iso]_0.ref b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_running_named_job[iso]_0.ref index f6590b65d..fc638f1e9 100644 --- a/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_running_named_job[iso]_0.ref +++ b/neuro-cli/tests/unit/formatters/ascii/TestJobOutputFormatter.test_running_named_job[iso]_0.ref @@ -7,7 +7,7 @@ Job test-job Image test-image Command test-command Price (credits / hour) 15.0000 - Current cost 15.0000 + Current cost 150.0000 Resources Memory 16.0M CPU 0.1 TTY False