Age | Commit message (Collapse) | Author |
|
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
|
|
|
|
|
|
|
|
and make the rest of tests pass after some changes
in this branch (dirtyness in config files)
|
|
|
|
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!
|
|
Ip for example.org
|
|
Closes #738
|
|
Conflicts:
src/leap/baseapp/mainwindow.py
src/leap/eip/tests/test_checks.py
|
|
|
|
|
|
and type casting.
|
|
|
|
|
|
(we were picking gateway in a wrong way)
Closes #610.
|
|
|
|
|
|
so it can be more easily moved to base.checks and reused
when eip is a module.
|
|
|
|
ping the listed gateway.
|
|
|
|
forgot to update eipconnection tests after #504 changes :(
|
|
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 :(
|
|
stubbing out the timestamp validity check (waiting for #507)
also some more deep tests are missing, wrote todo in tests.
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
it was not updating config dict
|
|
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 :)
|
|
|
|
also:
- changed name EIPChecker -> EipConfigChecker
- Added class documentation
|
|
completed first version of EIPChecks
|
|
deprecated base:test_config.test_complete_file (dup functionality)
|
|
plus a little bit of cleaning around (created constants file).
added some notes about inminent deprecation *work in progress*
|
|
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.
|
|
|
|
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.
|
|
|
|
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
|
|
we still have to move most of those tests to test_baseconfig
|
|
handling and tests.
uses the requests library for network interactions and mocks for simulating network states.
|
|
|
|
|
|
|
|
|
|
|