Skip to content

Commit

Permalink
fix validate
Browse files Browse the repository at this point in the history
  • Loading branch information
mzouink committed Aug 5, 2024
1 parent 573d669 commit cab1169
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/operations/test_validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ def test_validate(

# test validating iterations for which we know there are weights
weights_store.store_weights(run, 0)
validate(run_config.name, 0, num_workers=4)
validate(run.name, 0, num_workers=4)
# weights_store.store_weights(run, 1)
# validate(run_config.name, 1, num_workers=4)

# test validating weights that don't exist
with pytest.raises(FileNotFoundError):
validate(run_config.name, 2, num_workers=4)
validate(run.name, 2, num_workers=4)

if debug:
os.chdir(old_path)

0 comments on commit cab1169

Please sign in to comment.