|
a/Allura/allura/tests/functional/test_static.py |
|
b/Allura/allura/tests/functional/test_static.py |
1 |
from allura.tests import TestController
|
1 |
from allura.tests import TestController
|
2 |
|
2 |
|
3 |
class TestStatic(TestController):
|
3 |
class TestStatic(TestController):
|
4 |
|
4 |
|
5 |
def test_static_controller(self):
|
5 |
def test_static_controller(self):
|
6 |
self.app.get('/nf/_static_/Wiki/js/browse.js')
|
6 |
self.app.get('/nf/_static_/wiki/js/browse.js')
|
7 |
self.app.get('/nf/_static_/Wiki/js/no_such_file.js', status=404)
|
7 |
self.app.get('/nf/_static_/wiki/js/no_such_file.js', status=404)
|
8 |
self.app.get('/nf/_static_/no_such_tool/js/comments.js', status=404)
|
8 |
self.app.get('/nf/_static_/no_such_tool/js/comments.js', status=404)
|