Skip to content

Commit

Permalink
chore: black
Browse files Browse the repository at this point in the history
  • Loading branch information
dwinston committed Nov 19, 2024
1 parent a6012f4 commit fb91571
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions tests/test_data/test_translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,17 @@ def get_database(self) -> nmdc.Database:


def test_ensure_curie():
assert TestTranslator._ensure_curie("nmdc:bsm-11-z8x8p723", default_prefix="nmdc") == "nmdc:bsm-11-z8x8p723"
assert (
TestTranslator._ensure_curie("nmdc:bsm-11-z8x8p723", default_prefix="nmdc")
== "nmdc:bsm-11-z8x8p723"
)

assert TestTranslator._ensure_curie("bsm-11-z8x8p723", default_prefix="nmdc") == "nmdc:bsm-11-z8x8p723"
assert (
TestTranslator._ensure_curie("bsm-11-z8x8p723", default_prefix="nmdc")
== "nmdc:bsm-11-z8x8p723"
)

assert TestTranslator._ensure_curie("gold:Gb0123456", default_prefix="nmdc") == "gold:Gb0123456"
assert (
TestTranslator._ensure_curie("gold:Gb0123456", default_prefix="nmdc")
== "gold:Gb0123456"
)

0 comments on commit fb91571

Please sign in to comment.