Skip to content

Commit

Permalink
increased test cov for datavec
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurmloureiro committed Aug 6, 2024
1 parent 0f0ca8f commit 729a86c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test_datavector.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,13 @@ def test_save_concealed_datavector(mock_getuser):
# checks if the return is a sacc object
assert isinstance(returned_sacc, sacc.Sacc)

returned_sacc = sck.save_concealed_datavector(temp_file_path,
temp_file_root,
return_sacc=False)

# Check that the return is None
assert returned_sacc is None

# Check that the file was created
assert os.path.exists(temp_file_name)

Expand Down

0 comments on commit 729a86c

Please sign in to comment.