Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1370)

Unified Diff: server/runtests.py

Issue 11530043: Initial implementation of the Juju GUI server.
Patch Set: Initial implementation of the Juju GUI server. Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « server/runserver.py ('k') | server/setup.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: server/runtests.py
=== added file 'server/runtests.py'
--- server/runtests.py 1970-01-01 00:00:00 +0000
+++ server/runtests.py 2013-07-17 15:21:26 +0000
@@ -0,0 +1,36 @@
+# This file is part of the Juju GUI, which lets users view and manage Juju
+# environments within a graphical interface (https://launchpad.net/juju-gui).
+# Copyright (C) 2013 Canonical Ltd.
+#
+# This program is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Affero General Public License version 3, as published by
+# the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranties of MERCHANTABILITY,
+# SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+"""Juju GUI server test suite entry point."""
+
+import os
+import unittest
+
+from tornado import testing
+
+
+def all():
+ """This is required by the Tornado test runner.
+
+ See <http://www.tornadoweb.org/en/stable/testing.html#test-runner>.
+ """
+ path = os.path.dirname(__file__)
+ return unittest.defaultTestLoader.discover(path)
+
+
+if __name__ == '__main__':
+ testing.main(verbosity=2)
« no previous file with comments | « server/runserver.py ('k') | server/setup.py » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b