summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-01-29 11:10:38 +0100
committerEdward Hervey <bilboed@bilboed.com>2009-01-29 11:10:38 +0100
commit53ff4a8c7e85808d2e8a13e6a02263294d952445 (patch)
treec33340bb768850b0d07a1d89cbaeae4983291e0c /web
parent112caf3a99da149f61d1fb68cc64b4c8c67c0701 (diff)
models: Display 'Default' when an argument value is not specified
Diffstat (limited to 'web')
-rw-r--r--web/insanity/models.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/web/insanity/models.py b/web/insanity/models.py
index ad12145..f1316a9 100644
--- a/web/insanity/models.py
+++ b/web/insanity/models.py
@@ -418,7 +418,9 @@ class Test(models.Model):
break
if val == None:
d['skipped'] = True
- d['value'] = val
+ d['value'] = "Default"
+ else:
+ d['value'] = val
res.append(d)
return res
fullarguments = property(_get_full_arguments)