Sign inSign up

wsmorgan/python

By wsmorgan

•Updated about 9 years ago

Contains python environments and tools for unit testing.

Image
0

981

wsmorgan/python repository overview

Contains the tools for python unit testing and can be extended for python package development in any python version. To use follow the following setup:

docker pull wsmorgan/python 
docker run --name 'some name' --rm -i -t wsmorgan/python bash

Then in another terminal window use:

docker cp python_package 'some name':.

Now return to the original window:

cd python_package
tox

The unit tests will now run. In the above script 'some name' should be replaced with a name for the docker container that the user desires and python_package should be the folder containing the entire python package. Also tox can be replaced with another command such as pytest if the user desires.

Tag summary

Content type

Image

Digest

Size

335 MB

Last updated

about 9 years ago

docker pull wsmorgan/python