From 2af309223d6050feff3f85701a93166f3d4b5fee Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 21 Aug 2023 18:06:29 -0400 Subject: add integration tests --- tests/pkgs/static_abspath_nulbyte/__init__.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/pkgs/static_abspath_nulbyte/__init__.py (limited to 'tests/pkgs/static_abspath_nulbyte') diff --git a/tests/pkgs/static_abspath_nulbyte/__init__.py b/tests/pkgs/static_abspath_nulbyte/__init__.py new file mode 100644 index 000000000..a946fcdf9 --- /dev/null +++ b/tests/pkgs/static_abspath_nulbyte/__init__.py @@ -0,0 +1,10 @@ +import os + + +def includeme(config): + here = here = os.path.dirname(__file__) + static + static = os.path.normpath( + os.path.join(here, '..', '..', 'fixtures', 'statc') + ) + config.add_static_view('/', static) -- cgit v1.2.3