summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_path_to_node_mapping.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_path_to_node_mapping.py b/tests/test_path_to_node_mapping.py
index 9e81828..51e7852 100644
--- a/tests/test_path_to_node_mapping.py
+++ b/tests/test_path_to_node_mapping.py
@@ -38,12 +38,12 @@ from vdrnfofs.vdrnfofs import *
class TestPathToNodeMapping(unittest.TestCase):
def setUp(self):
- self.video = self.video_dir = os.path.abspath(os.path.dirname(__file__) + '/sample_video_dir')
+ self.video = os.path.abspath(os.path.dirname(__file__) + '/sample_video_dir')
def test_root(self):
node = get_node(self.video, '/')
self.assertEqual('', node.file_system_name)
- self.assertEqual(self.video, node.path)
+ self.assertEqual(self.video + '/', node.path)
def test_subdir(self):
node = get_node(self.video, '/folder')