Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test libreant execution #261

Open
ael-code opened this issue Mar 8, 2016 · 1 comment
Open

test libreant execution #261

ael-code opened this issue Mar 8, 2016 · 1 comment

Comments

@ael-code
Copy link
Member

ael-code commented Mar 8, 2016

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 gevent/gevent#513

How do we make travis tests this case scenario?

@boyska
Copy link
Member

boyska commented Mar 8, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants