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

Side by Side Diff: appengine/components/test_support/stats_framework_mock.py

Issue 1860863002: Update copyright notice from Swarming to LUCI; add AUTHORS and CONTRIBUTORS. (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: . Created 4 years, 8 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
OLDNEW
1 # Copyright 2014 The Swarming Authors. All rights reserved. 1 # Copyright 2014 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 by the Apache v2.0 license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Code to help test cases using stats_framework. 5 """Code to help test cases using stats_framework.
6 6
7 Implicitly depends on auto_stub. 7 Implicitly depends on auto_stub.
8 """ 8 """
9 9
10 import datetime 10 import datetime
11 11
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 """ 72 """
73 timestamp = timestamp - datetime.timedelta(seconds=10*60) 73 timestamp = timestamp - datetime.timedelta(seconds=10*60)
74 timestamp = datetime.datetime(*timestamp.timetuple()[:5], second=0) 74 timestamp = datetime.datetime(*timestamp.timetuple()[:5], second=0)
75 # pylint: disable=W0212 75 # pylint: disable=W0212
76 handler._set_last_processed_time(timestamp) 76 handler._set_last_processed_time(timestamp)
77 77
78 78
79 class MockMixIn: 79 class MockMixIn:
80 def configure(self): 80 def configure(self):
81 configure(self) 81 configure(self)
OLDNEW
« no previous file with comments | « appengine/components/components/utils_test.py ('k') | appengine/components/test_support/test_case.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698