summaryrefslogtreecommitdiff
path: root/tests/pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pkgs')
-rw-r--r--tests/pkgs/static_abspath_nulbyte/__init__.py3
-rw-r--r--tests/pkgs/static_assetspec_nulbyte/__init__.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/pkgs/static_abspath_nulbyte/__init__.py b/tests/pkgs/static_abspath_nulbyte/__init__.py
index a946fcdf9..2248522e9 100644
--- a/tests/pkgs/static_abspath_nulbyte/__init__.py
+++ b/tests/pkgs/static_abspath_nulbyte/__init__.py
@@ -3,8 +3,7 @@ import os
def includeme(config):
here = here = os.path.dirname(__file__)
- static
static = os.path.normpath(
- os.path.join(here, '..', '..', 'fixtures', 'statc')
+ os.path.join(here, '..', '..', 'fixtures', 'static')
)
config.add_static_view('/', static)
diff --git a/tests/pkgs/static_assetspec_nulbyte/__init__.py b/tests/pkgs/static_assetspec_nulbyte/__init__.py
index 49cebab3e..5ac6e8cf5 100644
--- a/tests/pkgs/static_assetspec_nulbyte/__init__.py
+++ b/tests/pkgs/static_assetspec_nulbyte/__init__.py
@@ -1,2 +1,5 @@
def includeme(config):
config.add_static_view('/', 'tests:fixtures/static')
+ config.add_static_view('/sub', 'tests:fixtures/static/subdir')
+ config.override_asset('tests:fixtures/static/subdir',
+ 'tests:fixtures/static')