From ce859b2defe1fc90c7a16551291799fc37284add Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 18:06:13 +0200 Subject: Adding upstream version 3.1.2. Signed-off-by: Daniel Baumann --- tests/res/__init__.py | 0 tests/res/package.zip | Bin 0 -> 1036 bytes tests/res/templates/broken.html | 3 +++ tests/res/templates/foo/test.html | 1 + tests/res/templates/mojibake.txt | 1 + tests/res/templates/syntaxerror.html | 4 ++++ tests/res/templates/test.html | 1 + tests/res/templates2/foo | 2 ++ 8 files changed, 12 insertions(+) create mode 100644 tests/res/__init__.py create mode 100644 tests/res/package.zip create mode 100644 tests/res/templates/broken.html create mode 100644 tests/res/templates/foo/test.html create mode 100644 tests/res/templates/mojibake.txt create mode 100644 tests/res/templates/syntaxerror.html create mode 100644 tests/res/templates/test.html create mode 100644 tests/res/templates2/foo (limited to 'tests/res') diff --git a/tests/res/__init__.py b/tests/res/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/res/package.zip b/tests/res/package.zip new file mode 100644 index 0000000..d4c9ce9 Binary files /dev/null and b/tests/res/package.zip differ diff --git a/tests/res/templates/broken.html b/tests/res/templates/broken.html new file mode 100644 index 0000000..77669fa --- /dev/null +++ b/tests/res/templates/broken.html @@ -0,0 +1,3 @@ +Before +{{ fail() }} +After diff --git a/tests/res/templates/foo/test.html b/tests/res/templates/foo/test.html new file mode 100644 index 0000000..b7d6715 --- /dev/null +++ b/tests/res/templates/foo/test.html @@ -0,0 +1 @@ +FOO diff --git a/tests/res/templates/mojibake.txt b/tests/res/templates/mojibake.txt new file mode 100644 index 0000000..4b94aa6 --- /dev/null +++ b/tests/res/templates/mojibake.txt @@ -0,0 +1 @@ +文字化け diff --git a/tests/res/templates/syntaxerror.html b/tests/res/templates/syntaxerror.html new file mode 100644 index 0000000..f21b817 --- /dev/null +++ b/tests/res/templates/syntaxerror.html @@ -0,0 +1,4 @@ +Foo +{% for item in broken %} + ... +{% endif %} diff --git a/tests/res/templates/test.html b/tests/res/templates/test.html new file mode 100644 index 0000000..ba578e4 --- /dev/null +++ b/tests/res/templates/test.html @@ -0,0 +1 @@ +BAR diff --git a/tests/res/templates2/foo b/tests/res/templates2/foo new file mode 100644 index 0000000..1c4ad3e --- /dev/null +++ b/tests/res/templates2/foo @@ -0,0 +1,2 @@ +Looks like the start of templates/foo/test.html +Tested by test_filesystem_loader_overlapping_names -- cgit v1.2.3