summaryrefslogtreecommitdiff
path: root/src/leap/common/testing
AgeCommit message (Collapse)Author
2016-07-11[test] toxify testsdrebs
2016-02-29[tests] adapt events tests to recent changesKali Kaneko
2015-07-23[tests] fix initialization of basetest caseKali Kaneko
2015-07-21[feature] add global flag for disabling the events frameworkKali Kaneko
this will be used to allow the unittests to disable the events framework. this way, emit() will become a passthrough. note that, until now, the basetest class is making use of the threaded version of the client, which launches a zmq tornado-based ioloop. this is wrong, and will have to be addressed in a future commit. we'll have to make use of the global EVENTS_ENABLED flag in the txclient version when those changes are made. Related: #7259 Relases: 0.4.2
2015-05-27[feat] add initialization of events to BaseLeapTestRuben Pollan
This is needed to get the tests working on environments where zmq was not initalizated. The environment variable XDG_CONFIG_HOME is set to get the leap configuration in the temp folder.
2015-05-21[bug] get certificate times as UTC, add testsIvan Alejandro
The certificate validity times were converted to local time and later on compared with UTC time, which caused the certificate not being updated at the right times. Add tests to be sure this is not happenning again. Add a joint pem file for the existing cert and key files to ease test. - Resolves: #6994
2015-01-21Consider different possibilities for tmpdir.Ivan Alejandro
In some systems the used tmp dir is like '/tmp/leap_tests-asdf' and in others is like '/tmp/username/leap_tests-asdf'. With this fix we protect the home dir and consider different possible temp directories.
2014-12-03Extract the environment set up and tear down for testsRuben Pollan
Using trial there is no setUpClass neither tearDownClass, the setting up of the environment needs to be in an external class to be able to call it from inhereted classes.
2013-09-03fix testing certs with proper server use for localhostKali Kaneko
2013-09-03renew the certs used for testingKali Kaneko
2013-07-05Add osx temp dir prefixTomás Touceda
2013-05-29change docstring comments to use sphinx styleKali Kaneko
2013-03-22fix importKali Kaneko
2013-03-15misc fixes (spacing, capitalization)Kali Kaneko
2013-03-15fix docstrings, headers and importsKali Kaneko
2013-03-14initial commitKali Kaneko