Skip to content

Commit

Permalink
add test comment and switch to v21 (novasamatech#3176)
Browse files Browse the repository at this point in the history
  • Loading branch information
leohar authored Nov 13, 2024
1 parent a0096c0 commit 88a3002
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@ def chain_model(request) -> Chain:

@pytest.fixture(scope="module")
def subquery_projects():
network_file_path = os.getenv('CHAINS_JSON_PATH', "chains/v20/chains.json")
network_file_path = os.getenv('CHAINS_JSON_PATH', "chains/v21/chains.json")
network_list = get_network_list('/' + network_file_path)
return get_unique_subquery_urls(network_list)
2 changes: 1 addition & 1 deletion tests/test_subquery_is_synced.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ def test_subquery_is_synced(subquery_projects):
if response.status_code == 200:
last_processed_height = response.json().get('data').get('_metadata').get('lastProcessedHeight')
target_height = response.json().get('data').get('_metadata').get('targetHeight')
assert abs(target_height - last_processed_height) < 10
assert abs(target_height - last_processed_height) < 10, "Failed on: " + url

0 comments on commit 88a3002

Please sign in to comment.