summaryrefslogtreecommitdiff
path: root/src/leap/common/testing/basetest.py
AgeCommit message (Collapse)Author
2016-02-29[tests] adapt events tests to recent changesKali 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-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-07-05Add osx temp dir prefixTomás Touceda
2013-05-29change docstring comments to use sphinx styleKali Kaneko
2013-03-15misc fixes (spacing, capitalization)Kali Kaneko
2013-03-15fix docstrings, headers and importsKali Kaneko
2013-03-14initial commitKali Kaneko