jbusecke / cookiecutter-science-project

Cookiecutter template for science analysis projects
MIT License
84 stars 13 forks source link

Failing tests #17

Open jbusecke opened 3 years ago

jbusecke commented 3 years ago

In #15 I deactivated a bunch of tests that were failing. All of them were basically checking information that you could obtain with python setup.py --author or similar. Example

I was not able to get this to work. I tried to execute the command manually in the temp directory and it worked nicely.

I think the problem might be that in the tests the command is invoked in this form: python /abs/path/to/setup.py --author. I am wondering if one could cd into the directory, execute the command and return with something like {cd ...; python setup.py --author; cd -;}, but I wasnt able to get this to work. I decided to remove the tests for now. I manually confirmed that the template works, but I would still like to get these tests working at some point.