Skip to content
This repository has been archived by the owner on Sep 13, 2018. It is now read-only.

install requirements_test.txt on dev boxes #154

Open
binary1230 opened this issue Aug 4, 2017 · 3 comments
Open

install requirements_test.txt on dev boxes #154

binary1230 opened this issue Aug 4, 2017 · 3 comments

Comments

@binary1230
Copy link
Contributor

Currently, to run the unit tests directly without running through tox.ini (through pycharm, for instance), we need to run pip install -r requirements_test.txt

What we should do is check if dev_box is set to true in the puppet config, and then add a line that runs pip install -r requirements_test.txt in https://github.com/magfest/ubersystem-puppet/blob/master/manifests/install_dependencies.pp#L6

@RobRuana
Copy link
Contributor

RobRuana commented Aug 4, 2017

Was this fixed by: magfest-archive/simple-rams-deploy#30?

@binary1230
Copy link
Contributor Author

nah, seperate issue.

I can run the tests from pycharm now (with a little weirdness but correct result), however, I had to do a workaround of manually installing the stuff in requirements_test.txt. Puppet should do that if dev_box is true.

I'm getting some other odd issues running unit tests locally under vagrant+windows related to sqllite, will post those later.

@RobRuana
Copy link
Contributor

RobRuana commented Aug 4, 2017

Yeah, we've really grown beyond the capabilities of SQLite. Our tests are just barely holding together running against SQLite, which is why I opened this issue: magfest/ubersystem#2517

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

No branches or pull requests

2 participants