Skip to content

Commit

Permalink
test: Update get_versioned_release_schema function signature
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Dec 14, 2024
1 parent ab279cb commit 88f6075
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_schema_integrity.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

sys.path.append(os.path.dirname(os.path.dirname(os.path.realpath(__file__))))

from conf import release
from manage import get_metaschema


Expand All @@ -19,7 +20,7 @@ def test_versioned_release_schema_is_in_sync():
actual = json.load(f)

with open("schema/release-schema.json") as f:
expected = get_versioned_release_schema(json.load(f))
expected = get_versioned_release_schema(json.load(f), release.replace(".", "__"))

assert actual == expected, "Run: python manage.py pre-commit"

Expand Down

0 comments on commit 88f6075

Please sign in to comment.