Skip to content

Commit

Permalink
Update integration test to include amoy as a network.
Browse files Browse the repository at this point in the history
  • Loading branch information
derekpierre committed Mar 28, 2024
1 parent 3f9027d commit 79870df
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@

EXPECTED_OUTPUT = """
polygon
├── mainnet
├── amoy
│ └── geth (default)
├── mumbai
├── local (default)
│ └── test (default)
├── mainnet
│ └── geth (default)
└── local (default)
└── test (default)
└── mumbai
└── geth (default)
""".strip()


Expand Down Expand Up @@ -48,6 +50,7 @@ def test_networks(runner, cli, polygon):
# Do this in case local env changed it.
polygon.mainnet.set_default_provider("geth")
polygon.mumbai.set_default_provider("geth")
polygon.amoy.set_default_provider("geth")

result = runner.invoke(cli, ["networks", "list"])
assert_rich_text(result.output, EXPECTED_OUTPUT)

0 comments on commit 79870df

Please sign in to comment.