Skip to content

Commit b339223

Browse files
committed
fixed test
1 parent 9ba5993 commit b339223

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/dynamic-sidecar/tests/unit/test_cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ def test_list_state_dirs(cli_runner: CliRunner, mock_data_manager: None):
5050
def test_outputs_push_interface(cli_runner: CliRunner, mock_data_manager: None):
5151
result = cli_runner.invoke(main, ["state-save"])
5252
assert result.exit_code == os.EX_OK, _format_cli_error(result)
53-
assert result.stdout == "state save finished successfully\n"
53+
assert "state save finished successfully\n" in result.stdout
5454
print(result)
5555

5656

5757
def test_state_save_interface(cli_runner: CliRunner, mock_nodeports: None):
5858
result = cli_runner.invoke(main, ["outputs-push"])
5959
assert result.exit_code == os.EX_OK, _format_cli_error(result)
60-
assert result.stdout == "output ports push finished successfully\n"
60+
assert "output ports push finished successfully\n" in result.stdout
6161
print(result)

0 commit comments

Comments
 (0)