• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2011 Google Inc. All Rights Reserved.
2"""A global variable for testing."""
3
4is_test = [False]
5
6
7def SetTestMode(flag):
8  is_test[0] = flag
9
10
11def GetTestMode():
12  return is_test[0]
13