Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherSpelt committed Oct 21, 2024
1 parent 5bd97cc commit f512af9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
logger = logging.getLogger(__name__)

TEST_INDEX: dict[str, Any] = {
"_links": {"self": "test.io/index.json"},
"download_url": "test.io/index.json",
"_links": {"self": "ourapi.io/instruments"},
"download_url": "ourapi.io/instruments",
"entries": [],
"name": "test",
"path": "test",
Expand All @@ -22,5 +22,5 @@ def test_create_urn_mappper() -> None:


def test_generate_index() -> None:
index = data.generate_index(base_url="test.io", directory="test", output_file="index.json")
index = data.generate_index(base_url="ourapi.io", directory="test")
assert index == TEST_INDEX

0 comments on commit f512af9

Please sign in to comment.