Skip to content

Commit

Permalink
fixed sent sol
Browse files Browse the repository at this point in the history
  • Loading branch information
kristinaNikolaevaa committed Feb 21, 2025
1 parent 585aea2 commit 97263ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def accounts_session(pytestconfig: Config, web3_client_session, faucet, eth_bank
def neon_user(evm_loader: EvmLoader, pytestconfig, bank_account, faucet, environment) -> NeonUser:
user = NeonUser(environment.evm_loader, bank_account)
balance = evm_loader.get_solana_balance(user.solana_account.pubkey())
if pytestconfig.getoption("--network") != "mainnet":
if pytestconfig.getoption("--network") not in ["mainnet", "devnet"]:
if balance < 5 * LAMPORT_PER_SOL:
evm_loader.request_airdrop(user.solana_account.pubkey(), 5 * LAMPORT_PER_SOL, commitment=Confirmed)
return user
Expand Down
2 changes: 1 addition & 1 deletion integration/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def evm_loader(environment: EnvironmentConfig) -> EvmLoader:
)


@pytest.fixture(scope="session")
@pytest.fixture(scope="class")
def account_with_all_tokens(
evm_loader,
solana_account,
Expand Down

0 comments on commit 97263ca

Please sign in to comment.