summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSenko Rasic <senko.rasic@dobarkod.hr>2011-08-19 12:49:00 (GMT)
committerSenko Rasic <senko.rasic@dobarkod.hr>2011-08-19 12:49:00 (GMT)
commit4ad9eff2d72d757f2877d8fcfe6b59e20ea71495 (patch)
tree84733cae4301e29d450d8c35294b33273bade821
parenta8edca29797a56884cde9e7f7d464b41a3f3f750 (diff)
downloadgst-qa-system-4ad9eff2d72d757f2877d8fcfe6b59e20ea71495.tar.gz
gst-qa-system-4ad9eff2d72d757f2877d8fcfe6b59e20ea71495.tar.xz
web: example test media folder settings with expected errors
-rw-r--r--web/settings.py16
1 files changed, 15 insertions, 1 deletions
diff --git a/web/settings.py b/web/settings.py
index 457042f..cf97651 100644
--- a/web/settings.py
+++ b/web/settings.py
@@ -90,5 +90,19 @@ INSTALLED_APPS = (
# A map of folders that the tests can be run in
INSANITY_TEST_FOLDERS = {
- os.path.join(PROJECT_PATH, 'test_media'): 'Test Media Folder'
+ 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'
+ }
+ ]
+ }
+ }
}