Skip to content

Commit

Permalink
Another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed May 3, 2023
1 parent dbbb1f7 commit 86b6699
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/test_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,7 @@ def test_get_ssh_user(self):
self.assertEqual(self.remote._adapter._get_user(), "hpcuser")

def test_get_file_transfer(self):
if "tests" in self.path:
file = os.path.join(self.path, "abc.txt")
else:
file = os.path.join(self.path, "tests", "abc.txt")
self.assertEqual(
self.remote._adapter._get_file_transfer(file="abc.txt", local_dir="local", remote_dir="test"),
file
os.path.abspath("abc.txt")
)

0 comments on commit 86b6699

Please sign in to comment.