Mercurial > mozilla > hg > talosnames
comparison talosnames/main.py @ 17:25e91fc7ff01
getting the test config now works
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 10 Jul 2012 18:23:16 -0700 |
parents | 1713b3e244a7 |
children |
comparison
equal
deleted
inserted
replaced
16:1713b3e244a7 | 17:25e91fc7ff01 |
---|---|
39 assert command is not None, "Suite not found; should be one of %s" % ', '.join(self.suites()) | 39 assert command is not None, "Suite not found; should be one of %s" % ', '.join(self.suites()) |
40 return subprocess.list2cmdline(command) | 40 return subprocess.list2cmdline(command) |
41 | 41 |
42 def tests(self, suite): | 42 def tests(self, suite): |
43 """return the talos test config for a buildbot suite name""" | 43 """return the talos test config for a buildbot suite name""" |
44 config = self.api.talos_config(suite) | 44 return self.api.test_config(suite) |
45 | 45 |
46 def main(args=sys.argv[1:]): | 46 def main(args=sys.argv[1:]): |
47 parser = CommandParser(TalosNamesCLI) | 47 parser = CommandParser(TalosNamesCLI) |
48 parser.invoke(sys.argv[1:]) | 48 parser.invoke(sys.argv[1:]) |
49 | 49 |