Skip to content

Commit

Permalink
add final assert on expected path output
Browse files Browse the repository at this point in the history
  • Loading branch information
ankona committed Jul 24, 2023
1 parent 11abe74 commit 6270814
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ def test_redisai_valid_rai_path(fileutils, monkeypatch):
assert config.redisai
assert Path(config.redisai).is_file()
assert isinstance(config.redisai, str)
assert config.redisai == str(rai_file_path)

shutil.rmtree(test_dir)

Expand Down Expand Up @@ -165,6 +166,7 @@ def test_redisai_valid_lib_path(fileutils, monkeypatch):
assert config.redisai
assert Path(config.redisai).is_file()
assert isinstance(config.redisai, str)
assert config.redisai == str(rai_def_lib_path)

shutil.rmtree(test_dir)

Expand Down

0 comments on commit 6270814

Please sign in to comment.