# HG changeset patch # User Jeff Hammel # Date 1341972263 25200 # Node ID 82d15f93cc4a7cd60e79bd134cf2ee59184e3979 # Parent 48b4c926be734ea6def1d96f3f9b9d4323b1aa31 wip diff -r 48b4c926be73 -r 82d15f93cc4a talosnames/api.py --- a/talosnames/api.py Tue Jul 10 18:56:34 2012 -0700 +++ b/talosnames/api.py Tue Jul 10 19:04:23 2012 -0700 @@ -108,7 +108,7 @@ def buildbot_command(self, name): """gets the buildbot command for a particular suite""" - return self.buildbot_commands.get(name) + return self.buildbot_commands.get(name[:]) def talos_config(self, name): """returns talos configuration for suite `name`""" diff -r 48b4c926be73 -r 82d15f93cc4a talosnames/templates/index.html --- a/talosnames/templates/index.html Tue Jul 10 18:56:34 2012 -0700 +++ b/talosnames/templates/index.html Tue Jul 10 19:04:23 2012 -0700 @@ -20,10 +20,7 @@ {{suite}} {{repr(commands[suite])}} {{tbpl[suite]}} -
foo
-
-
-bar
+
{{pprint(tests[suite])}}
{{endfor}} diff -r 48b4c926be73 -r 82d15f93cc4a talosnames/web.py --- a/talosnames/web.py Tue Jul 10 18:56:34 2012 -0700 +++ b/talosnames/web.py Tue Jul 10 19:04:23 2012 -0700 @@ -5,6 +5,7 @@ """ import os +import pprint import tempita from api import TalosNames from webob import Request, Response, exc @@ -39,7 +40,8 @@ 'commands': self.api.buildbot_commands, 'tbpl': dict([(suite, self.api.tbpl_name(suite)) for suite in suites]), - 'tests': tests + 'tests': tests, + 'pprint': pprint.pformat } return template.substitute(data)