summaryrefslogtreecommitdiff
path: root/src/leap/eip/tests
AgeCommit message (Collapse)Author
2013-03-06Remove everything to start from scratchTomás Touceda
2013-01-25fix test when missing system updown scriptkali
2013-01-24all tests green againkali
plus: * added soledad test requirements * removed soledad from run_tests run (+1K tests failing) * added option to run All tests to run_tests script * pep8 cleanup
2012-12-12parse new service formatkali
2012-12-12cleanup lingering temporal fileskali
2012-12-12tests for firstrun/wizardkali
2012-12-12tests for openvpn optionskali
and make the rest of tests pass after some changes in this branch (dirtyness in config files)
2012-12-10cleanup and rewrite eipconnection/openvpnconnection classeskali
2012-11-14make tests pass + pep8kali
They were breaking mainly because I did not bother to have a pass over them to change the PROVIDER settings from the branding case. All good now, although much testing is yet needed and some refactor could be used. long live green tests!
2012-11-13remove sample servicekali
Ip for example.org
2012-10-10fix failing test on test_eipconnectionkali
Closes #738
2012-10-08Merge branch 'feature/network_check' into developkali
Conflicts: src/leap/baseapp/mainwindow.py src/leap/eip/tests/test_checks.py
2012-10-06Merge branch 'feature/detect_vpn' into developkali
2012-10-05added tests.antialias
2012-10-02refactored jsonconfig, included jsonschema validationkali
and type casting.
2012-09-25moved LeapNetworkChecker and test in base.antialias
2012-09-24improved network checks on the way to a network checker.antialias
2012-09-25workaround for #638 and fix for eip config check for gatewayskali
(we were picking gateway in a wrong way) Closes #610.
2012-09-20tests pass after branding changeskali
2012-09-12time boundary check of certificate using gnutlskali
2012-09-12moved network checks to its own classkali
so it can be more easily moved to base.checks and reused when eip is a module.
2012-09-12pep8kali
2012-09-10Implemented basic networks checks: valid interface, default route, and can ↵antialias
ping the listed gateway.
2012-09-06openvpn management socket is a temp path on each runkali
2012-09-06make tests pass.kali
forgot to update eipconnection tests after #504 changes :(
2012-09-04fix test_checks: do not mess with real home path!kali
It is really dangerous to mess with expanduser paths in tests without deriving testcases from LeapTestCase. It'd be good to devise a way of checking for that :(
2012-09-04better separate cert validation/download logickali
stubbing out the timestamp validity check (waiting for #507) also some more deep tests are missing, wrote todo in tests.
2012-09-03basic download cert functionalitykali
2012-09-03providercertchecks:check_https_is_workingkali
implementing a https server with its own base testcase for convenience. https is delicate, and I think it's better checking against a real implementation than mocking everything here.
2012-08-31deprecated configparser. closes #500kali
2012-08-30working with options only from clikali
2012-08-30move extra options from config template to cl optskali
2012-08-30fetcher moved to baseconfig + eipchecker using eipservice config.kali
2012-08-30fix config load methodkali
it was not updating config dict
2012-08-30add lazy evaluation to config specskali
now callables are allowed in specs *only at one level depth* to allow for last-minute evaluation on context-sensitive data, like paths affected by os.environ also some minor modifications to make check tests pass after putting the new jsonconfig-based eipconfig in place. aaaaaall green again :)
2012-08-29add eipconfig spec and config objectkali
2012-08-29test for eip_config_checker called from eip_connection run_checks methodkali
also: - changed name EIPChecker -> EipConfigChecker - Added class documentation
2012-08-28checki complete eip_config tests.kali
completed first version of EIPChecks
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-27add stubs for eip.checkskali
will handle pre-init sanity checks for eip connection. some of this will actually end in more general leap-checks, but let's keep it alltogether by now.
2012-08-27make eipconductor test use BaseLeapTestkali
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-27fix expanduser for home in expected openvpn optionkali
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
2012-08-24fix config imports to make tests pass.kali
we still have to move most of those tests to test_baseconfig
2012-08-22grabs a definition.json file if one isn't present. includes some basic error ↵antialias
handling and tests. uses the requests library for network interactions and mocks for simulating network states.
2012-08-23test_config uses the new leap base testcasekali
2012-08-22moved json-config testskali
2012-08-22Merge branch 'refactor-tests' into refactorkali