summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSenko Rasic <senko.rasic@dobarkod.hr>2011-08-24 07:27:25 (GMT)
committerSenko Rasic <senko.rasic@dobarkod.hr>2011-08-24 07:28:42 (GMT)
commitbf739a918a78c35c89edb6cf4cc5f868232966f2 (patch)
tree01cf271542dc325fd440ded46608ed9f8c3a77cf
parent2b2d00a4aeb4db1ee2d04fcf2893ab1cb62c657e (diff)
downloadgst-qa-system-bf739a918a78c35c89edb6cf4cc5f868232966f2.tar.gz
gst-qa-system-bf739a918a78c35c89edb6cf4cc5f868232966f2.tar.xz
django settings: show a generic example instead of arbitrary test confHEADmaster
-rw-r--r--web/settings.py30
1 files changed, 14 insertions, 16 deletions
diff --git a/web/settings.py b/web/settings.py
index cf97651..f3bf903 100644
--- a/web/settings.py
+++ b/web/settings.py
@@ -88,21 +88,19 @@ INSTALLED_APPS = (
'web.insanityweb'
)
-# A map of folders that the tests can be run in
+# A map of folders that the tests can be run in, with any extra arguments that
+# need to be passed to the tests:
+#
INSANITY_TEST_FOLDERS = {
- os.path.join(PROJECT_PATH, 'test_media'): {
- 'name': 'Test Media Folder',
- },
- '/data/non-media-files-for-test/': {
- 'name': 'Non-media Folder',
-
- 'extra-arguments': {
- 'expected_failures': [
- {
- 'checkitem': 'is-media-type', # required
- 'uri': 'file:///data/non-media-files-for-test/file.zip'
- }
- ]
- }
- }
+# '/path/to/test-media/': {
+# 'name': 'Test Media Folder',
+# 'extra-arguments': {
+# 'expected_failures': [ # patterns of checkitem/arguments to match
+# {
+# 'checkitem': 'is-media-type', # required
+# 'uri': 'file:///path/to/test/media/not-a-media-file.zip'
+# }
+# ]
+# }
+# }
}