Skip to content

Commit

Permalink
Get rid of unneeded seret injection in test (#766)
Browse files Browse the repository at this point in the history
  • Loading branch information
bkorycki authored Jan 2, 2025
1 parent 0830621 commit e199092
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 @@ -85,7 +85,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 e199092

Please sign in to comment.