Skip to content

Commit

Permalink
tests: adapt tests for new compilerapi
Browse files Browse the repository at this point in the history
  • Loading branch information
bilbeyt committed Aug 25, 2023
1 parent 2eba722 commit 8165591
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/functional/data/projects/ApeProject/ape-config.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
contracts_folder: ./contracts

ethereum:
compilers:
- ethpm
3 changes: 3 additions & 0 deletions tests/integration/cli/projects/empty-config/ape-config.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
# Empty config
ethereum:
compilers:
- ethpm
2 changes: 2 additions & 0 deletions tests/integration/cli/projects/geth/ape-config.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 4 additions & 0 deletions tests/integration/cli/projects/test/ape-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
test:
# `false` because running pytest within pytest.
disconnect_providers_after: false

ethereum:
compilers:
- ethpm
4 changes: 4 additions & 0 deletions tests/integration/cli/projects/with-contracts/ape-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ dependencies:
test:
# `false` because running pytest within pytest.
disconnect_providers_after: false

ethereum:
compilers:
- ethpm
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ dependencies:

- name: renamed-contracts-folder-specified-in-config
local: ./renamed_contracts_folder_specified_in_config

ethereum:
compilers:
- ethpm
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
dependencies:
- name: sub-dependency
local: ./sub_dependency

ethereum:
compilers:
- ethpm
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
contracts_folder: my_contracts

ethereum:
compilers:
- ethpm

0 comments on commit 8165591

Please sign in to comment.