]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
Adds a FakeNamespace object to teuthology.config that mimics
authorAndrew Schoen <aschoen@redhat.com>
Fri, 21 Nov 2014 17:58:58 +0000 (11:58 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Sat, 6 Dec 2014 19:46:47 +0000 (13:46 -0600)
commit0d5f1249b3922e2cd19dc8b763cea1fa3cb6b67d
tree4d2adde1e17d4cc7e4d7af7691cc18159a026f9e
parentfa35faa6abd4e45af0da93d86029936a121a5a51
Adds a FakeNamespace object to teuthology.config that mimics
what an argparse Namespace looks like when teuthology.misc.read_config
is used on it.  This allows us to refactor our commands to use docopt
but still all all the tasks to be passed one big namespace.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
teuthology/config.py
teuthology/test/test_config.py