Skip to content

Commit

Permalink
remove unused copy/pasted lines from tests without lib/redisai.so dummy
Browse files Browse the repository at this point in the history
  • Loading branch information
ankona committed Aug 4, 2023
1 parent c344e28 commit 9cefa8a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ def test_redisai_invalid_lib_path(fileutils, monkeypatch):
"""Invalid RAI_PATH and invalid SMARTSIM_DEP_INSTALL_PATH should fail"""
test_dir = fileutils.make_test_dir()
rai_file_path = f"{test_dir}/railib/redisai.so"
_ = f"{test_dir}/lib/redisai.so"

env = get_redisai_env(rai_file_path, test_dir)
monkeypatch.setattr(os, "environ", env)
Expand All @@ -131,7 +130,6 @@ def test_redisai_valid_lib_path(fileutils, monkeypatch):
"""Valid RAI_PATH and invalid SMARTSIM_DEP_INSTALL_PATH should succeed"""
test_dir = fileutils.make_test_dir()
rai_file_path = fileutils.make_test_file("mock-redisai.so", "lib")
_ = f"{test_dir}/lib/redisai.so"

env = get_redisai_env(rai_file_path, test_dir)
monkeypatch.setattr(os, "environ", env)
Expand Down

0 comments on commit 9cefa8a

Please sign in to comment.