Skip to content

Commit

Permalink
delete redundant test
Browse files Browse the repository at this point in the history
  • Loading branch information
derpyplops committed Oct 16, 2023
1 parent 2cf5968 commit 9633884
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions tests/test_viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ def setup_fs(fs):
return Path(test_dir)


def test_get_model_paths(setup_fs):
test_dir = setup_fs
result = SweepVisualization._get_model_paths(test_dir)

root = Path(test_dir)
for path in root.rglob("*"):
print(path)
assert len(result) == 3
assert any([p.name == "llama-13b" for p in result])
assert any([p.name == "llama-12b" for p in result])
assert any([p.name == "gpt2-medium" for p in result])
# def test_get_model_paths(setup_fs):
# test_dir = setup_fs
# result = SweepVisualization._get_model_paths(test_dir)
#
# root = Path(test_dir)
# for path in root.rglob("*"):
# print(path)
# assert len(result) == 3
# assert any([p.name == "llama-13b" for p in result])
# assert any([p.name == "llama-12b" for p in result])
# assert any([p.name == "gpt2-medium" for p in result])

0 comments on commit 9633884

Please sign in to comment.