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

Implement doctest #70

Open
2 of 7 tasks
SrMouraSilva opened this issue Oct 15, 2017 · 2 comments
Open
2 of 7 tasks

Implement doctest #70

SrMouraSilva opened this issue Oct 15, 2017 · 2 comments

Comments

@SrMouraSilva
Copy link
Member

SrMouraSilva commented Oct 15, 2017

https://docs.python.org/3.6/library/doctest.html


Execute pytest --doctest-modules freeze computer

in docker freezes too

docker-run:
    docker build \
      --file=./Dockerfile \
      --tag=my_project ./
    docker run \
      --detach=false \
      --name=my_project \
      --publish=$(HOST):8080 \
      my_project
  • [ ] Test in docker enviroment
@SrMouraSilva
Copy link
Member Author

SrMouraSilva commented Oct 18, 2017

sudo docker run -it python:3.6 bash
cd tmp/
git clone https://github.com/PedalPi/PluginsManager
cd PluginsManager/
python setup.py develop
git checkout 72b2e6e507cfe23c2cf011f6ded08f2f9ffd2b65
pip install pytest
pytest --doctest-modules # WILL FREEZE PC

@SrMouraSilva
Copy link
Member Author

Doesn't works in python 3.5 and 3.6

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

1 participant