Skip to content

Commit

Permalink
Vcr more NFT tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nebolax authored and LefterisJP committed Apr 20, 2023
1 parent 14499c4 commit 263719e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rotkehlchen/tests/api/test_nfts.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def test_nft_query(rotkehlchen_api_server, start_with_valid_premium):


@requires_env([TestEnvironment.NIGHTLY, TestEnvironment.NFTS])
@flaky(max_runs=3, min_passes=1) # all opensea calls have become quite flaky
@pytest.mark.vcr()
@pytest.mark.parametrize('ethereum_accounts', [[]])
@pytest.mark.parametrize('start_with_valid_premium', [True])
@pytest.mark.parametrize('ethereum_modules', [['nfts']])
Expand Down Expand Up @@ -162,7 +162,7 @@ def test_nft_ids_are_unique(rotkehlchen_api_server):


@requires_env([TestEnvironment.NIGHTLY, TestEnvironment.NFTS])
@flaky(max_runs=3, min_passes=1) # all opensea calls have become quite flaky
@pytest.mark.vcr()
@pytest.mark.parametrize('ethereum_accounts', [[TEST_ACC4, TEST_ACC5, TEST_ACC6]])
@pytest.mark.parametrize('start_with_valid_premium', [True])
@pytest.mark.parametrize('ethereum_modules', [['nfts', 'uniswap']])
Expand Down Expand Up @@ -323,7 +323,7 @@ def test_nft_balances_and_prices(rotkehlchen_api_server):
assert result == {
'name': 'yabir.eth',
'asset_type': 'nft',
'image_url': 'https://openseauserdata.com/files/3f7c0c7d1ba51e61fe05ef53875f9f7e.svg',
'image_url': 'https://openseauserdata.com/files/238f73fa1bbea518eec64f9c9d5ed7fe.svg',
'collection_name': 'ENS: Ethereum Name Service',
}

Expand Down

0 comments on commit 263719e

Please sign in to comment.