combox

split and encrypted files between online file storage providers
git clone git://git.ricketyspace.net/combox.git
Log | Files | Refs

commit 201e0938a2e0f1f7e747fa6e809e0e5886b90d11
parent db00e9be8e7740d0cf8a6ebbf6abca06bea58774
Author: Siddharth Ravikumar <sravik@bgsu.edu>
Date:   Thu, 19 Feb 2015 16:08:06 -0500

tests/file_test.py: in test_relativepath method path.join is used to construct pathnames.

Diffstat:
tests/file_test.py | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git 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)