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

Side by Side Diff: Tools/GardeningServer/tests.py

Issue 465233002: Store alerts in sheriff-o-matic's memcache. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 #!/usr/bin/env python
2
3 # Copyright 2014 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 import os
8 import sys
9 import unittest
10
11
12 def main():
13 try:
14 import appengine_testing
15 except ImportError:
16 print ('Could not import appengine_testing. WebKit/Tools must be on '
17 'PYTHONPATH.')
18 sys.exit(1)
19 appengine_testing.set_up()
20
21 tests_path = os.path.dirname(sys.modules[__name__].__file__)
22 suite = unittest.loader.TestLoader().discover(tests_path,
23 pattern='*_test.py')
24 unittest.TextTestRunner(verbosity=2).run(suite)
25
26
27 if __name__ == '__main__':
28 main()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698