From 36bf6ec9eb8a3ef4e24d3a6374780603f5bbdf97 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 9 Feb 2015 19:20:39 -0500 Subject: [1.8.x] Moved contrib.flatpages tests out of contrib. Backport of d3a725054fa260e84c788b240fd03cbd0ccc1151 from master --- .../flatpages_tests/fixtures/sample_flatpages.json | 63 ++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 tests/flatpages_tests/fixtures/sample_flatpages.json (limited to 'tests/flatpages_tests/fixtures/sample_flatpages.json') diff --git a/tests/flatpages_tests/fixtures/sample_flatpages.json b/tests/flatpages_tests/fixtures/sample_flatpages.json new file mode 100644 index 0000000000..885af1eb60 --- /dev/null +++ b/tests/flatpages_tests/fixtures/sample_flatpages.json @@ -0,0 +1,63 @@ +[ + { + "pk": 1, + "model": "flatpages.flatpage", + "fields": { + "registration_required": false, + "title": "A Flatpage", + "url": "/flatpage/", + "template_name": "", + "sites": [ + 1 + ], + "content": "Isn't it flat!", + "enable_comments": false + } + }, + { + "pk": 2, + "model": "flatpages.flatpage", + "fields": { + "registration_required": false, + "title": "A Nested Flatpage", + "url": "/location/flatpage/", + "template_name": "", + "sites": [ + 1 + ], + "content": "Isn't it flat and deep!", + "enable_comments": false + } + }, + + { + "pk": 101, + "model": "flatpages.flatpage", + "fields": { + "registration_required": true, + "title": "Sekrit Flatpage", + "url": "/sekrit/", + "template_name": "", + "sites": [ + 1 + ], + "content": "Isn't it sekrit!", + "enable_comments": false + } + }, + { + "pk": 102, + "model": "flatpages.flatpage", + "fields": { + "registration_required": true, + "title": "Sekrit Nested Flatpage", + "url": "/location/sekrit/", + "template_name": "", + "sites": [ + 1 + ], + "content": "Isn't it sekrit and deep!", + "enable_comments": false + } + } +] \ No newline at end of file -- cgit v1.3