Commit Graph

7 Commits

Author SHA1 Message Date
Zack Cerza
9547a7f398 Discourage modifying defaults in instances
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-11 10:41:16 -06:00
Zack Cerza
4a6352e372 Don't use double underscores
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-11 10:33:43 -06:00
Zack Cerza
a924606d26 Run tests for base class in subclass tests
Also remove test_defaults() since it was a bad idea.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-11 09:55:34 -06:00
Zack Cerza
c886a93688 Make teuthology.config *far* more robust
In addition to parsing its configuration from a yaml file, it can now be
created from a dict. It can also be dumped as a dict, or as a yaml
stream. It is also now split into multiple classes so that the same
implementation can be used for job configs, and not just as a proxy for
~/.teuthology.yaml.

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2014-07-10 16:35:36 -06:00
Zack Cerza
f91f792c91 Add another config test
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
2013-10-01 09:07:39 -05:00
Zack Cerza
4043c7d72c Split test into two 2013-09-24 10:09:04 -05:00
Zack Cerza
9de95d174f Add a basic test for teuthology.config 2013-09-20 15:11:13 -05:00