Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
gsheni committed Jul 29, 2024
1 parent 56e6c16 commit f44f59c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/integration/metadata/test_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@ def test_single_table_compatibility(tmp_path):
synthesizer.save(model_path)

# Assert
assert model_path.exists()
assert model_path.is_file()
assert os.path.exists(model_path)
assert os.path.isfile(model_path)
loaded_synthesizer = GaussianCopulaSynthesizer.load(model_path)
assert isinstance(synthesizer, GaussianCopulaSynthesizer)
assert loaded_synthesizer.get_info() == synthesizer.get_info()
Expand Down Expand Up @@ -338,8 +338,8 @@ def test_multi_table_compatibility(tmp_path):
synthesizer.save(model_path)

# Assert
assert model_path.exists()
assert model_path.is_file()
assert os.path.exists(model_path)
assert os.path.isfile(model_path)
loaded_synthesizer = HMASynthesizer.load(model_path)
assert isinstance(synthesizer, HMASynthesizer)
assert loaded_synthesizer.get_info() == synthesizer.get_info()
Expand Down

0 comments on commit f44f59c

Please sign in to comment.