fix(test): remove unused assignment to value

This commit is contained in:
psychedelicious 2023-11-14 08:08:23 +11:00
parent 428f0b265f
commit 8929495aeb

View File

@ -161,8 +161,6 @@ def test_filter(store: ModelRecordServiceBase):
assert matches[0].key == sha256("config3".encode("utf-8")).hexdigest()
assert isinstance(matches[0].type, ModelType) # This tests that we get proper enums back
matches = store.search_by_attr(model_type=BaseModelType("sd-2"))
matches = store.search_by_hash("CONFIG1HASH")
assert len(matches) == 1
assert matches[0].original_hash == "CONFIG1HASH"