From 8bd5b60889bef67cb32879562d3cc0e751431ed2 Mon Sep 17 00:00:00 2001 From: Paul Tremberth Date: Thu, 21 Jan 2016 23:23:50 +0100 Subject: [PATCH] Remove relpath filepath --- tests/test_command_shell.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/test_command_shell.py b/tests/test_command_shell.py index 7ae685c64..dd201cff3 100644 --- a/tests/test_command_shell.py +++ b/tests/test_command_shell.py @@ -1,5 +1,4 @@ -from os.path import join, abspath, dirname, relpath, commonprefix -import os +from os.path import join from twisted.trial import unittest from twisted.internet import defer @@ -62,7 +61,7 @@ class ShellTest(ProcessTest, SiteTest, unittest.TestCase): test_file_path = join(tests_datadir, 'test_site/index.html') valid_paths = [ test_file_path, - relpath(test_file_path), + # relpath(test_file_path), 'file://'+test_file_path, './tests/sample_data/test_site/index.html', 'tests/sample_data/test_site/index.html',