libreant
libreant copied to clipboard
test libreant execution
I've search a little bit, but I did not found a way to test libreant command execution.
Consider this scenario:
pip install --force gevent=1.0
python setup.py develop
libreant -d
This should fail on python 2.7.8
because of https://github.com/gevent/gevent/issues/513
How do we make travis tests this case scenario?
ael:
I've search a little bit, but I did not found a way to test libreant command execution.
I was thinking about it, too. I don't have the right solution, but the quick&dirty one involves shell scripting and adhoc things. If the number of tests of this kind that we want to do is small, this can be fine, but it just will not scale. I think that the very nature of the test you are proposing (incorrect installation) can't really be tested from python itself (excluding dirty hacks which would be even more complicated)
boyska