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

Side by Side Diff: appengine/swarming/server/test_env.py

Issue 2013943002: Changing license header, again! (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: Fixed third parties Created 4 years, 7 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 | « appengine/swarming/server/task_to_run_test.py ('k') | appengine/swarming/static/default.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The LUCI Authors. All rights reserved. 1 # Copyright 2015 The LUCI Authors. All rights reserved.
2 # Use of this source code is governed by the Apache v2.0 license that can be 2 # Use of this source code is governed under the Apache License, Version 2.0
3 # found in the LICENSE file. 3 # that can be found in the LICENSE file.
4 4
5 import os 5 import os
6 import sys 6 import sys
7 7
8 APP_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 8 APP_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
9 9
10 10
11 def setup_test_env(): 11 def setup_test_env():
12 """Sets up App Engine test environment.""" 12 """Sets up App Engine test environment."""
13 # For application modules. 13 # For application modules.
14 sys.path.insert(0, APP_DIR) 14 sys.path.insert(0, APP_DIR)
15 15
16 from test_support import test_env 16 from test_support import test_env
17 test_env.setup_test_env() 17 test_env.setup_test_env()
OLDNEW
« no previous file with comments | « appengine/swarming/server/task_to_run_test.py ('k') | appengine/swarming/static/default.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698