blob: 06f2ae1044fa9b75ace6697dcb8f2bbb43fd258d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# Copyright 2011 Google Inc. All Rights Reserved.
"""A global variable for testing."""
_is_test = [False]
def SetTestMode(flag):
_is_test[0] = flag
def GetTestMode():
return _is_test[0]
|