Skip to content

Commit

Permalink
Disable one test depending on Enso when running on Github
Browse files Browse the repository at this point in the history
  • Loading branch information
miohtama committed Nov 24, 2024
1 parent 6ef6c6d commit 69dd11f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/velvet/test_velvet_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@

JSON_RPC_BASE = os.environ.get("JSON_RPC_BASE", "https://mainnet.base.org")

CI = os.environ.get("CI", None)

pytestmark = pytest.mark.skipif(not JSON_RPC_BASE, reason="No JSON_RPC_BASE environment variable")


Expand Down Expand Up @@ -139,7 +141,7 @@ def test_fetch_vault_portfolio(vault: VelvetVault):
assert portfolio.spot_erc20["0x6921B130D297cc43754afba22e5EAc0FBf8Db75b"] > 0


@flaky.flaky
@pytest.mark.skipif(CI, reason="Enso is such unstable crap that there is no hope we could run any tests with in CI")
def test_vault_swap_partially(
vault: VelvetVault,
vault_owner: HexAddress,
Expand Down

0 comments on commit 69dd11f

Please sign in to comment.