Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1825)

Unified Diff: Tools/GardeningServer/tests.py

Issue 728023004: Remove GardeningServer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Tools/GardeningServer/test/unit-tests.html ('k') | Tools/GardeningServer/ui/ct-builder.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/tests.py
diff --git a/Tools/GardeningServer/tests.py b/Tools/GardeningServer/tests.py
deleted file mode 100755
index 91ecccb2390545c450871faccce935243ebaf079..0000000000000000000000000000000000000000
--- a/Tools/GardeningServer/tests.py
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/usr/bin/env python
-
-# Copyright 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import os
-import sys
-import unittest
-
-
-_gae_sdk_not_on_python_path_message = '''
- You must include the google_appengine SDK directory on PYTHONPATH.
-'''
-
-
-_webtest_not_installed_message = '''
- Could not load webtest python module. You may need to:
- sudo apt-get python-webtest
-'''
-
-
-def main():
- try:
- import dev_appserver
- except ImportError:
- print >> sys.stderr, _gae_sdk_not_on_python_path_message
- raise
-
- dev_appserver.fix_sys_path()
-
- try:
- import webtest
- except ImportError:
- print >> sys.stderr, _webtest_not_installed_message
- raise
-
- tests_path = os.path.dirname(sys.modules[__name__].__file__)
- suite = unittest.loader.TestLoader().discover(tests_path,
- pattern='*_test.py')
- unittest.TextTestRunner(verbosity=2).run(suite)
-
-
-if __name__ == '__main__':
- main()
« no previous file with comments | « Tools/GardeningServer/test/unit-tests.html ('k') | Tools/GardeningServer/ui/ct-builder.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698