Skip to content

Commit

Permalink
break up ibc test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Dec 20, 2023
1 parent d39afc7 commit 9576e3c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion integration_tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,12 @@
def pytest_configure(config):
config.addinivalue_line("markers", "slow: marks tests as slow")
config.addinivalue_line("markers", "gravity: gravity bridge test cases")
config.addinivalue_line("markers", "ibc: marks ibc tests")
config.addinivalue_line("markers", "ica: marks ica tests")
config.addinivalue_line("markers", "upgrade: marks upgrade tests")
config.addinivalue_line("markers", "ibc: marks default ibc tests")
config.addinivalue_line("markers", "ibc_rly_evm: marks ibc_rly_evm tests")
config.addinivalue_line("markers", "ibc_rly_gas: marks ibc relayer gas tests")
config.addinivalue_line("markers", "ibc_timeout: marks ibc timeout tests")


def pytest_collection_modifyitems(items, config):
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/test_ibc_rly.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
wait_for_new_blocks,
)

pytestmark = pytest.mark.ibc
pytestmark = pytest.mark.ibc_rly_evm

CONTRACT = "0x0000000000000000000000000000000000000065"
contract_info = json.loads(CONTRACT_ABIS["IRelayerModule"].read_text())
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/test_ibc_rly_gas.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from .ibc_utils import log_gas_records, prepare_network, rly_transfer
from .utils import wait_for_new_blocks

pytestmark = pytest.mark.ibc
pytestmark = pytest.mark.ibc_rly_gas


@pytest.fixture(scope="module", params=["ibc_rly", "ibc_rly_evm"])
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/test_ibc_timeout.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
)
from .utils import ADDRS, eth_to_bech32, wait_for_fn

pytestmark = pytest.mark.ibc
pytestmark = pytest.mark.ibc_timeout


@pytest.fixture(scope="module")
Expand Down

0 comments on commit 9576e3c

Please sign in to comment.