Skip to content

Commit

Permalink
chore: testing ci
Browse files Browse the repository at this point in the history
  • Loading branch information
aorumbayev committed Sep 19, 2024
1 parent 9cab17f commit 54df886
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/localnet/test_localnet_start.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def test_localnet_start_out_date(app_dir_mock: AppDirs) -> None:
def test_localnet_img_check_cmd_error(app_dir_mock: AppDirs) -> None:
result = invoke("localnet start")

assert result.exit_code == 0
assert result.exit_code == 1
verify(result.output.replace(str(app_dir_mock.app_config_dir), "{app_config}").replace("\\", "/"))


Expand All @@ -283,6 +283,7 @@ def test_localnet_start_with_custom_config_dir(tmp_path_factory: pytest.TempPath
custom_config_dir = tmp_path_factory.mktemp("custom_config")
result = invoke(f"localnet start --config-dir {custom_config_dir}")

print(result.output.splitlines()) # noqa: T201
assert result.exit_code == 0
assert custom_config_dir.exists()
assert (custom_config_dir / "sandbox").exists()
Expand All @@ -297,7 +298,6 @@ def test_localnet_start_with_no_dev_mode(app_dir_mock: AppDirs) -> None:
result = invoke("localnet start --no-dev")

assert result.exit_code == 0

# Verify that DevMode is set to false in the algod_network_template.json
network_template = json.loads(
(app_dir_mock.app_config_dir / "sandbox" / "algod_network_template.json")
Expand Down

0 comments on commit 54df886

Please sign in to comment.