Skip to content

Commit

Permalink
Get rid of unneeded seret injection in test
Browse files Browse the repository at this point in the history
  • Loading branch information
bkorycki committed Dec 18, 2024
1 parent 9a8af8c commit 100ac09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/modelbench_tests/test_record.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def test_v1_hazard_definition_without_tests_loaded():

def test_v1_hazard_definition_with_tests_loaded():
hazard = SafeHazardV1("dfm", Locale.EN_US, "practice")
hazard.tests({"together": {"api_key": "ignored"}, "modellab_files": {"token": "ignored"}})
hazard.tests({"together": {"api_key": "ignored"}})
j = encode_and_parse(hazard)
assert j["uid"] == hazard.uid
assert j["tests"] == ["safe-dfm-en_us-practice-1.0"]
Expand Down

0 comments on commit 100ac09

Please sign in to comment.