blob: 0305eea71bf2c0cf04687228c822036f12a9702e [file] [log] [blame]
# 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]