Remove relpath filepath

This commit is contained in:
Paul Tremberth 2016-01-21 23:23:50 +01:00
parent 240ecbf323
commit 8bd5b60889
1 changed files with 2 additions and 3 deletions

View File

@ -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',