The test suite of Flask-AutoIndex fails similarly to the one of Flask-Silk:
test_contain (tests.RootDirectoryTestCase) ... ok
test_get_child_dir (tests.RootDirectoryTestCase) ... ok
test_get_child_file (tests.RootDirectoryTestCase) ... ok
test_init (tests.RootDirectoryTestCase) ... ok
test_root_dir (tests.RootDirectoryTestCase) ... ok
test_same_object (tests.RootDirectoryTestCase) ... ok
test_contain (tests.DirectoryTestCase) ... ok
test_dir (tests.DirectoryTestCase) ... ok
test_get_child_file (tests.DirectoryTestCase) ... ok
test_init (tests.DirectoryTestCase) ... ok
test_same_object (tests.DirectoryTestCase) ... ok
test_file (tests.FileTestCase) ... ok
test_init (tests.FileTestCase) ... ok
test_properties (tests.FileTestCase) ... ok
test_same_object (tests.FileTestCase) ... ok
test_autoindex (tests.ApplicationTestCase) ... ERROR
test_builtin_icon_rule (tests.ApplicationTestCase) ... ERROR
test_css (tests.ApplicationTestCase) ... ERROR
test_custom_icon_rule (tests.ApplicationTestCase) ... ERROR
test_icon (tests.ApplicationTestCase) ... ERROR
test_own_page (tests.ApplicationTestCase) ... ERROR
test_own_static_file (tests.ApplicationTestCase) ... ERROR
ERROR: test_autoindex (tests.ApplicationTestCase)
Traceback (most recent call last):
File "/home/sebastian/development/flask-autoindex/tests/init.py", line 134, in setUp
self.app2 = Flask(name + '2')
File "/usr/lib/python2.7/dist-packages/flask/app.py", line 277, in init
template_folder=template_folder)
File "/usr/lib/python2.7/dist-packages/flask/helpers.py", line 572, in init
self.root_path = get_root_path(self.import_name)
File "/usr/lib/python2.7/dist-packages/flask/helpers.py", line 482, in get_root_path
import(import_name)
ImportError: No module named tests2
ERROR: test_builtin_icon_rule (tests.ApplicationTestCase)
Traceback (most recent call last):
File "/home/sebastian/development/flask-autoindex/tests/init.py", line 134, in setUp
self.app2 = Flask(name + '2')
File "/usr/lib/python2.7/dist-packages/flask/app.py", line 277, in init
template_folder=template_folder)
File "/usr/lib/python2.7/dist-packages/flask/helpers.py", line 572, in init
self.root_path = get_root_path(self.import_name)
File "/usr/lib/python2.7/dist-packages/flask/helpers.py", line 482, in get_root_path
import(import_name)
ImportError: No module named tests2
ERROR: test_css (tests.ApplicationTestCase)
Traceback (most recent call last):
File "/home/sebastian/development/flask-autoindex/tests/init.py", line 134, in setUp
self.app2 = Flask(name + '2')
File "/usr/lib/python2.7/dist-packages/flask/app.py", line 277, in init
template_folder=template_folder)
File "/usr/lib/python2.7/dist-packages/flask/helpers.py", line 572, in init
self.root_path = get_root_path(self.import_name)
File "/usr/lib/python2.7/dist-packages/flask/helpers.py", line 482, in get_root_path
import(import_name)
ImportError: No module named tests2
ERROR: test_custom_icon_rule (tests.ApplicationTestCase)
Traceback (most recent call last):
File "/home/sebastian/development/flask-autoindex/tests/init.py", line 134, in setUp
self.app2 = Flask(name + '2')
File "/usr/lib/python2.7/dist-packages/flask/app.py", line 277, in init
template_folder=template_folder)
File "/usr/lib/python2.7/dist-packages/flask/helpers.py", line 572, in init
self.root_path = get_root_path(self.import_name)
File "/usr/lib/python2.7/dist-packages/flask/helpers.py", line 482, in get_root_path
import(import_name)
ImportError: No module named tests2
ERROR: test_icon (tests.ApplicationTestCase)
Traceback (most recent call last):
File "/home/sebastian/development/flask-autoindex/tests/init.py", line 134, in setUp
self.app2 = Flask(name + '2')
File "/usr/lib/python2.7/dist-packages/flask/app.py", line 277, in init
template_folder=template_folder)
File "/usr/lib/python2.7/dist-packages/flask/helpers.py", line 572, in init
self.root_path = get_root_path(self.import_name)
File "/usr/lib/python2.7/dist-packages/flask/helpers.py", line 482, in get_root_path
import(import_name)
ImportError: No module named tests2
ERROR: test_own_page (tests.ApplicationTestCase)
Traceback (most recent call last):
File "/home/sebastian/development/flask-autoindex/tests/init.py", line 134, in setUp
self.app2 = Flask(name + '2')
File "/usr/lib/python2.7/dist-packages/flask/app.py", line 277, in init
template_folder=template_folder)
File "/usr/lib/python2.7/dist-packages/flask/helpers.py", line 572, in init
self.root_path = get_root_path(self.import_name)
File "/usr/lib/python2.7/dist-packages/flask/helpers.py", line 482, in get_root_path
import(import_name)
ImportError: No module named tests2
ERROR: test_own_static_file (tests.ApplicationTestCase)
Traceback (most recent call last):
File "/home/sebastian/development/flask-autoindex/tests/init.py", line 134, in setUp
self.app2 = Flask(name + '2')
File "/usr/lib/python2.7/dist-packages/flask/app.py", line 277, in init
template_folder=template_folder)
File "/usr/lib/python2.7/dist-packages/flask/helpers.py", line 572, in init
self.root_path = get_root_path(self.import_name)
File "/usr/lib/python2.7/dist-packages/flask/helpers.py", line 482, in get_root_path
import(import_name)
ImportError: No module named tests2
Ran 22 tests in 0.014s
FAILED (errors=7)