Skip to content

Commit

Permalink
validate instance type in test
Browse files Browse the repository at this point in the history
Signed-off-by: Jeffrey Martin <[email protected]>
  • Loading branch information
jmartin-tech committed Apr 23, 2024
1 parent 56a2ce7 commit baf17c0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/generators/test_ggml.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python3

import os
import pytest
import tempfile
Expand Down Expand Up @@ -52,4 +50,4 @@ def test_init_good_model():
file.write(garak.generators.ggml.GGUF_MAGIC)
file.seek(0)
g = garak.generators.ggml.GgmlGenerator(file.name)
assert g is not None
assert type(g) is garak.generators.ggml.GgmlGenerator

0 comments on commit baf17c0

Please sign in to comment.