summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGhislain Rodrigues <git@ghislain-rodrigues.fr>2017-10-08 13:22:16 +0100
committerGhislain Rodrigues <git@ghislain-rodrigues.fr>2017-10-08 13:22:16 +0100
commitdaee065ecdeb8fc86e8daed9df8bdcc52dd6cc85 (patch)
treef8a4ca929f8cdca76779960aa3c545b23e3a0dfe /tests
parenteaf6a633425d4303b123d40e2bafe07cba6deb0e (diff)
downloadvdebug-daee065ecdeb8fc86e8daed9df8bdcc52dd6cc85.zip
keep the paths clean of double directory separators
Diffstat (limited to 'tests')
-rw-r--r--tests/test_util_filepath.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_util_filepath.py b/tests/test_util_filepath.py
index 9f26877..adc08ad 100644
--- a/tests/test_util_filepath.py
+++ b/tests/test_util_filepath.py
@@ -199,12 +199,12 @@ class MismatchingSeparatorsTest(unittest.TestCase):
filename = "/remote2/path/to/file"
file = FilePath(filename)
- self.assertEqual("/local2//path/to/file",file.as_local())
+ self.assertEqual("/local2/path/to/file",file.as_local())
def test_as_remote(self):
filename = "/local1/path/to/file"
file = FilePath(filename)
- self.assertEqual("file:///remote1//path/to/file",file.as_remote())
+ self.assertEqual("file:///remote1/path/to/file",file.as_remote())
filename = "/local2/path/to/file"
file = FilePath(filename)