File: test_module_baz.py

package info (click to toggle)
python-gflags 1.5.1-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 976 kB
  • sloc: python: 3,374; makefile: 15; sh: 5
file content (18 lines) | stat: -rw-r--r-- 390 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/python2.4
#
# Copyright 2010 Google Inc. All Rights Reserved.

"""Auxiliary module for testing flags.py.

The purpose of this module is to test the behavior of flags that are defined
before main() executes.
"""


__author__ = 'mikecurtis@google.com (Michael Bennett Curtis)'

import gflags as flags

FLAGS = flags.FLAGS

flags.DEFINE_boolean('tmod_baz_x', True, 'Boolean flag.')