Skip to content

Commit

Permalink
skip paid test
Browse files Browse the repository at this point in the history
  • Loading branch information
kongzii committed Oct 16, 2024
1 parent 6e046e3 commit 87d556c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests_integration/tools/ipfs/test_ipfs_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

from prediction_market_agent_tooling.config import APIKeys
from prediction_market_agent_tooling.tools.ipfs.ipfs_handler import IPFSHandler
from tests.utils import RUN_PAID_TESTS


@pytest.fixture(scope="module")
Expand All @@ -15,6 +16,7 @@ def test_ipfs_handler() -> t.Generator[IPFSHandler, None, None]:
yield IPFSHandler(keys)


@pytest.mark.skipif(not RUN_PAID_TESTS, reason="This test costs money to run.")
def test_ipfs_upload_and_removal(test_ipfs_handler: IPFSHandler) -> None:
# We add the current datetime to avoid uploading an existing file (CID is content-based)
temp_string = f"Hello World {datetime.datetime.utcnow()}"
Expand Down

0 comments on commit 87d556c

Please sign in to comment.