fixed ruff formatting issues

This commit is contained in:
Lincoln Stein
2023-11-13 18:15:17 -05:00
parent 38c1436f02
commit acc0a29dca
3 changed files with 11 additions and 35 deletions

View File

@ -159,9 +159,7 @@ def test_filter(store: ModelRecordServiceBase):
assert len(matches) == 1
assert matches[0].name == "config3"
assert matches[0].key == sha256("config3".encode("utf-8")).hexdigest()
assert isinstance(
matches[0].type, ModelType
) # This tests that we get proper enums back
assert isinstance(matches[0].type, ModelType) # This tests that we get proper enums back
matches = store.search_by_hash("CONFIG1HASH")
assert len(matches) == 1