From 3670c2cdb732d378ba6d38e72e7cd875ff726aa9 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Sun, 14 Oct 2018 21:11:41 -0500 Subject: move tests out of the package --- tests/fixtures/dummy.ini | 4 ++ tests/fixtures/manifest.json | 4 ++ tests/fixtures/manifest2.json | 4 ++ tests/fixtures/minimal.jpg | Bin 0 -> 631 bytes tests/fixtures/minimal.pdf | Bin 0 -> 1054 bytes tests/fixtures/minimal.txt | 1 + tests/fixtures/minimal.xml | 1 + tests/fixtures/nonminimal.txt | 1 + tests/fixtures/static/.hiddenfile | 2 + tests/fixtures/static/arcs.svg.tgz | 73 ++++++++++++++++++++++++++++++++ tests/fixtures/static/index.html | 1 + tests/fixtures/static/subdir/index.html | 1 + 12 files changed, 92 insertions(+) create mode 100644 tests/fixtures/dummy.ini create mode 100644 tests/fixtures/manifest.json create mode 100644 tests/fixtures/manifest2.json create mode 100644 tests/fixtures/minimal.jpg create mode 100755 tests/fixtures/minimal.pdf create mode 100644 tests/fixtures/minimal.txt create mode 100644 tests/fixtures/minimal.xml create mode 100644 tests/fixtures/nonminimal.txt create mode 100644 tests/fixtures/static/.hiddenfile create mode 100644 tests/fixtures/static/arcs.svg.tgz create mode 100644 tests/fixtures/static/index.html create mode 100644 tests/fixtures/static/subdir/index.html (limited to 'tests/fixtures') diff --git a/tests/fixtures/dummy.ini b/tests/fixtures/dummy.ini new file mode 100644 index 000000000..bc2281168 --- /dev/null +++ b/tests/fixtures/dummy.ini @@ -0,0 +1,4 @@ +[app:myapp] +use = call:pyramid.tests.test_paster:make_dummyapp + +foo = %(bar)s diff --git a/tests/fixtures/manifest.json b/tests/fixtures/manifest.json new file mode 100644 index 000000000..0a43bc5e3 --- /dev/null +++ b/tests/fixtures/manifest.json @@ -0,0 +1,4 @@ +{ + "css/main.css": "css/main-test.css", + "images/background.png": "images/background-a8169106.png" +} diff --git a/tests/fixtures/manifest2.json b/tests/fixtures/manifest2.json new file mode 100644 index 000000000..fd6b9a7bb --- /dev/null +++ b/tests/fixtures/manifest2.json @@ -0,0 +1,4 @@ +{ + "css/main.css": "css/main-678b7c80.css", + "images/background.png": "images/background-a8169106.png" +} diff --git a/tests/fixtures/minimal.jpg b/tests/fixtures/minimal.jpg new file mode 100644 index 000000000..1cda9a53d Binary files /dev/null and b/tests/fixtures/minimal.jpg differ diff --git a/tests/fixtures/minimal.pdf b/tests/fixtures/minimal.pdf new file mode 100755 index 000000000..e267be996 Binary files /dev/null and b/tests/fixtures/minimal.pdf differ diff --git a/tests/fixtures/minimal.txt b/tests/fixtures/minimal.txt new file mode 100644 index 000000000..18832d351 --- /dev/null +++ b/tests/fixtures/minimal.txt @@ -0,0 +1 @@ +Hello. diff --git a/tests/fixtures/minimal.xml b/tests/fixtures/minimal.xml new file mode 100644 index 000000000..1972c155d --- /dev/null +++ b/tests/fixtures/minimal.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/tests/fixtures/nonminimal.txt b/tests/fixtures/nonminimal.txt new file mode 100644 index 000000000..9de95ec92 --- /dev/null +++ b/tests/fixtures/nonminimal.txt @@ -0,0 +1 @@ +Hello, ${name}! diff --git a/tests/fixtures/static/.hiddenfile b/tests/fixtures/static/.hiddenfile new file mode 100644 index 000000000..86d345000 --- /dev/null +++ b/tests/fixtures/static/.hiddenfile @@ -0,0 +1,2 @@ +I'm hidden + diff --git a/tests/fixtures/static/arcs.svg.tgz b/tests/fixtures/static/arcs.svg.tgz new file mode 100644 index 000000000..376c42ac8 --- /dev/null +++ b/tests/fixtures/static/arcs.svg.tgz @@ -0,0 +1,73 @@ + + + + + + + + diff --git a/tests/fixtures/static/index.html b/tests/fixtures/static/index.html new file mode 100644 index 000000000..0470710b2 --- /dev/null +++ b/tests/fixtures/static/index.html @@ -0,0 +1 @@ +static \ No newline at end of file diff --git a/tests/fixtures/static/subdir/index.html b/tests/fixtures/static/subdir/index.html new file mode 100644 index 000000000..bb84fad04 --- /dev/null +++ b/tests/fixtures/static/subdir/index.html @@ -0,0 +1 @@ +subdir -- cgit v1.2.3