summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSiddharth Ravikumar <sravik@bgsu.edu>2015-02-19 16:08:06 -0500
committerSiddharth Ravikumar <sravik@bgsu.edu>2015-02-19 16:08:06 -0500
commit201e0938a2e0f1f7e747fa6e809e0e5886b90d11 (patch)
tree59a4dd9d866a2b2b81f4fbd67ae4b5252848f12e /tests
parentdb00e9be8e7740d0cf8a6ebbf6abca06bea58774 (diff)
tests/file_test.py: in test_relativepath method path.join is used to construct pathnames.
Diffstat (limited to 'tests')
-rw-r--r--tests/file_test.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/file_test.py b/tests/file_test.py
index b3edc7a..50bf261 100644
--- a/tests/file_test.py
+++ b/tests/file_test.py
@@ -100,14 +100,13 @@ class TestFile(object):
"""
test_file_basename = path.basename(self.TEST_FILE)
- print test_file_basename
assert test_file_basename == relative_path(self.TEST_FILE,
self.config)
split_and_encrypt(self.TEST_FILE, self.config)
test_file_shard_0 = '%s.shard.0' % test_file_basename
- test_file_shard_0_abspath = "%s/%s" % (get_nodedirs(self.config)[0],
- test_file_shard_0)
+ test_file_shard_0_abspath = path.join(get_nodedirs(self.config)[0],
+ test_file_shard_0)
assert test_file_shard_0 == relative_path(test_file_shard_0_abspath,
self.config, False)