From dd34fe067f19d093d484d4d0c53ad90bc35654ab Mon Sep 17 00:00:00 2001 From: FabijanC Date: Fri, 19 May 2023 18:25:56 +0200 Subject: [PATCH] Restore cairo manifest setting in tests * certain tests again only x86-compatible --- test/test_fork_cli_params.py | 1 + test/util.py | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/test/test_fork_cli_params.py b/test/test_fork_cli_params.py index 36d058c3a..24d9f0ab9 100644 --- a/test/test_fork_cli_params.py +++ b/test/test_fork_cli_params.py @@ -116,6 +116,7 @@ def test_too_big_block_id(): ) assert read_stream(proc.stdout) == "" assert f"Block number {too_big_block_id} was not found." in read_stream(proc.stderr) + assert proc.returncode != 0 @pytest.mark.parametrize( diff --git a/test/util.py b/test/util.py index 3b74eb8f3..c4d073962 100644 --- a/test/util.py +++ b/test/util.py @@ -45,13 +45,6 @@ def run_devnet_in_background(*args, stderr=None, stdout=None, env=None): if "--accounts" not in args: args = [*args, "--accounts", "1"] - if ( - "--cairo-compiler-manifest" not in args - and os.getenv("CAIRO_1_COMPILER_MANIFEST") is not None - ): - manifest = os.getenv("CAIRO_1_COMPILER_MANIFEST") - args = [*args, "--cairo-compiler-manifest", manifest] - port = args[args.index("--port") + 1] if "--port" in args else PORT command = [