From 5ba6a4d92b2fdf06f43ac6c2e3ee63647ea791b9 Mon Sep 17 00:00:00 2001 From: Tolga Date: Fri, 25 Aug 2023 09:45:37 +0200 Subject: [PATCH] tests: adapt tests for new compilerapi --- tests/functional/data/projects/ApeProject/ape-config.yaml | 4 ++++ tests/integration/cli/projects/empty-config/ape-config.yaml | 3 +++ tests/integration/cli/projects/geth/ape-config.yaml | 2 ++ .../cli/projects/only-dependencies/ape-config.yaml | 4 ++++ tests/integration/cli/projects/test/ape-config.yaml | 4 ++++ tests/integration/cli/projects/with-contracts/ape-config.yaml | 4 ++++ .../cli/projects/with-dependencies/ape-config.yaml | 4 ++++ .../containing_sub_dependencies/ape-config.yaml | 4 ++++ .../ape-config.yaml | 4 ++++ 9 files changed, 33 insertions(+) diff --git a/tests/functional/data/projects/ApeProject/ape-config.yaml b/tests/functional/data/projects/ApeProject/ape-config.yaml index 5b74e6d542..b5ce3ceaed 100644 --- a/tests/functional/data/projects/ApeProject/ape-config.yaml +++ b/tests/functional/data/projects/ApeProject/ape-config.yaml @@ -1 +1,5 @@ contracts_folder: ./contracts + +ethereum: + compilers: + - ethpm diff --git a/tests/integration/cli/projects/empty-config/ape-config.yaml b/tests/integration/cli/projects/empty-config/ape-config.yaml index 8f5d2257cc..a69be4c767 100644 --- a/tests/integration/cli/projects/empty-config/ape-config.yaml +++ b/tests/integration/cli/projects/empty-config/ape-config.yaml @@ -1 +1,4 @@ # Empty config +ethereum: + compilers: + - ethpm \ No newline at end of file diff --git a/tests/integration/cli/projects/geth/ape-config.yaml b/tests/integration/cli/projects/geth/ape-config.yaml index 60266530a6..1473a9c4b7 100644 --- a/tests/integration/cli/projects/geth/ape-config.yaml +++ b/tests/integration/cli/projects/geth/ape-config.yaml @@ -1,6 +1,8 @@ ethereum: local: default_provider: geth + compilers: + - ethpm # Change the default URI for one of the networks to # ensure that the default values of the other networks diff --git a/tests/integration/cli/projects/only-dependencies/ape-config.yaml b/tests/integration/cli/projects/only-dependencies/ape-config.yaml index 4818a8ef72..f891d43749 100644 --- a/tests/integration/cli/projects/only-dependencies/ape-config.yaml +++ b/tests/integration/cli/projects/only-dependencies/ape-config.yaml @@ -7,3 +7,7 @@ compile: # NOTE: this should say `include_dependencies: false` below. # (it gets replaced with `true` in a test temporarily) include_dependencies: false + +ethereum: + compilers: + - ethpm \ No newline at end of file diff --git a/tests/integration/cli/projects/test/ape-config.yaml b/tests/integration/cli/projects/test/ape-config.yaml index b0824ee384..8ffd11bc25 100644 --- a/tests/integration/cli/projects/test/ape-config.yaml +++ b/tests/integration/cli/projects/test/ape-config.yaml @@ -1,3 +1,7 @@ test: # `false` because running pytest within pytest. disconnect_providers_after: false + +ethereum: + compilers: + - ethpm \ No newline at end of file diff --git a/tests/integration/cli/projects/with-contracts/ape-config.yaml b/tests/integration/cli/projects/with-contracts/ape-config.yaml index 0a8ada29b2..312295adb6 100644 --- a/tests/integration/cli/projects/with-contracts/ape-config.yaml +++ b/tests/integration/cli/projects/with-contracts/ape-config.yaml @@ -7,3 +7,7 @@ dependencies: test: # `false` because running pytest within pytest. disconnect_providers_after: false + +ethereum: + compilers: + - ethpm \ No newline at end of file diff --git a/tests/integration/cli/projects/with-dependencies/ape-config.yaml b/tests/integration/cli/projects/with-dependencies/ape-config.yaml index 07f8e7f4b0..f38e10b444 100644 --- a/tests/integration/cli/projects/with-dependencies/ape-config.yaml +++ b/tests/integration/cli/projects/with-dependencies/ape-config.yaml @@ -15,3 +15,7 @@ dependencies: - name: renamed-contracts-folder-specified-in-config local: ./renamed_contracts_folder_specified_in_config + +ethereum: + compilers: + - ethpm \ No newline at end of file diff --git a/tests/integration/cli/projects/with-dependencies/containing_sub_dependencies/ape-config.yaml b/tests/integration/cli/projects/with-dependencies/containing_sub_dependencies/ape-config.yaml index 326290e857..efc7f8aba5 100644 --- a/tests/integration/cli/projects/with-dependencies/containing_sub_dependencies/ape-config.yaml +++ b/tests/integration/cli/projects/with-dependencies/containing_sub_dependencies/ape-config.yaml @@ -1,3 +1,7 @@ dependencies: - name: sub-dependency local: ./sub_dependency + +ethereum: + compilers: + - ethpm \ No newline at end of file diff --git a/tests/integration/cli/projects/with-dependencies/renamed_contracts_folder_specified_in_config/ape-config.yaml b/tests/integration/cli/projects/with-dependencies/renamed_contracts_folder_specified_in_config/ape-config.yaml index 3195ca3b85..d2c7a2a14a 100644 --- a/tests/integration/cli/projects/with-dependencies/renamed_contracts_folder_specified_in_config/ape-config.yaml +++ b/tests/integration/cli/projects/with-dependencies/renamed_contracts_folder_specified_in_config/ape-config.yaml @@ -1 +1,5 @@ contracts_folder: my_contracts + +ethereum: + compilers: + - ethpm \ No newline at end of file