import repository from arizona
[raven.git] / 2.0 / python / test / arizonaconfigTest_testfile.py
1 #! /usr/bin/env python
2 """
3 <Purpose>
4    This is a test file to be read in by arizonaconfigTest
5 """
6
7 #           [option, long option,     variable,      action,        data,     default,                           metavar,     description]
8 """arizonaconfig
9    options=[
10             ["-C",   "--configfile",  "configfile",  "store",       "string", "arizonaconfigTest.conf", "FILE",      "use a different config file (arizonaconfigTest.conf is the default)"],
11             ["",     "--listenport",  "listenport",  "store",       "int",    648,                               "PORT",      "bind to this port (default 648)"],
12             ["",     "--bindfiles",   "bindfiles",   "store",       "string", "/share/base",                     "DIRECTORY", "location of the files to copy to the client upon binding"],
13             ["",     "--retrievedir", "retrievedir", "store",       "string", "/usr/local/stork/var/packages",   "DIRECTORY", "location to put retrieved files (default /usr/local/stork/var/packages)"],
14             ["",     "--not-daemon",  "daemon",      "store_false",  None,    True,                              None,        "specify that program should not attempt to detach from the terminal"],
15             ["",     "--localoutput", "localoutput", "store_true",   None,    False,                             None,        "display output locally, do not send to client"],
16
17             ["",     "--include",     "include",     "append",       "string", None,                               None,        "include config file"],
18
19             ["",     "--sliceport",  "sliceport",  "store",       "string",    "640",                               "PORT",      "unknown (default 640)"]]
20
21
22    includes=[]
23 """
24
25 # NOTE: technically the following is incorrect and it should be only
26 # arizonaconfigTest_testfile2, but arizonaconfig is looking in the wrong
27 # directory.
28 # TODO: Investigate.
29 import test.arizonaconfigTest_testfile2
30 # this one has new tests
31 import test.arizonaconfigTest_testfile4
32