summaryrefslogtreecommitdiff
path: root/src/leap/base/tests/test_config.py
AgeCommit message (Collapse)Author
2013-03-06Remove everything to start from scratchTomás Touceda
2012-09-24add schema to JSONLeapConfig classeskali
and a jsonvalidate function too, that calls to jsonchemea.validate(self, data) with self.schema We're using the specs to both purposes now: * providing a type casting system for our config options (work in progress for the type casting) * json schema validation
2012-09-20tests pass after branding changeskali
2012-09-18do_branding command added to setupkali
2012-08-30add test for JSONLeapConfig metaclasskali
2012-08-29add eipconfig spec and config objectkali
2012-08-28eipchecker.fetch definition and testskali
deprecated base:test_config.test_complete_file (dup functionality)
2012-08-27add test_dump_default_eipconfig to eip.test_checkskali
plus a little bit of cleaning around (created constants file). added some notes about inminent deprecation *work in progress*
2012-08-27change default_provider_path to base.constantskali
fix tests by introducing a (dirtish) workaround for check for openvpn keys during vpn connection initialization. noted that eipconnection constructor should be better not having that class of side-effects.
2012-08-27add new TODO commentkali
2012-08-27make provider-fetch tests passkali
test provider-definition dump functions. refactored the set-temp-to-home methods to setUpClass separate provider-fetch tests on different testcases (so they actually call to requests).
2012-08-24Merge branch 'get-definition.json' into providers-statickali
adjusted some loose ends to make tests pass again. this merge is still half-baked regarding functionality: I've left in place old Configuration class used by some tests antialias did on his branch. I plan to merge that functionality with the more recent JSONConfig and Spec classes. Conflicts: src/leap/base/configuration.py src/leap/eip/config.py src/leap/eip/tests/test_config.py