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

Side by Side Diff: testing/legion/unittests/legion_unittest.py

Issue 1585373003: Adding a cross-task eventing server. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing reviewers comments Created 4 years, 11 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
« no previous file with comments | « testing/legion/unittests/event_server_test.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 """Base test class for Legion-specific unittests.
6
7 Currently this module is only needed to setup the import paths for the
8 unittests. This will allow unittests to use the import format:
9
10 from legion.foo import bar
11
12 Using this base class for all unittests allows for easier extensibility in
13 the future.
14 """
15
16 import os
17 import sys
18 import unittest
19
20 # Setup import paths
21 THIS_DIR = os.path.dirname(os.path.abspath(__file__))
22 LEGION_IMPORT_FIX = os.path.join(THIS_DIR, '..', '..')
23 sys.path.append(LEGION_IMPORT_FIX)
24
25
26 class TestCase(unittest.TestCase):
27 pass
28
29
30 def main():
31 unittest.main(verbosity=0, argv=sys.argv[:1])
OLDNEW
« no previous file with comments | « testing/legion/unittests/event_server_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698