{ "info": { "author": "James Sears", "author_email": "james.hn.sears@gmail.com", "bugtrack_url": null, "classifiers": [ "Framework :: Pytest", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Testing" ], "description": "# pytest-docker-py [![Build Status](https://travis-ci.org/jameshnsears/pytest-docker-py.svg?branch=master)](https://travis-ci.org/jameshnsears/pytest-docker-py) [![Coverage Status](https://coveralls.io/repos/github/jameshnsears/pytest-docker-py/badge.svg?branch=master)](https://coveralls.io/github/jameshnsears/pytest-docker-py?branch=master)\n* Easy to use, simple to extend, external [pytest](https://docs.pytest.org/en/latest/) plugin that minimally leverages [docker-py](https://github.com/docker/docker-py).\n\n## 1. Introduction\n* A plugin that keeps it simple and lets you:\n * pull images - if not already pulled.\n * start containers - with various, optional, parameters - i.e. ports; networks; volumes; commands.\n * stop containers.\n\n* See [test/integration/test_plugin.py](https://github.com/jameshnsears/pytest-docker-py/blob/master/test/integration/test_plugin.py) for a working example.\n\n## 2. Installation\n* pip install pytest-docker-py\n\nor\n\n* pip install git+https://github.com/jameshnsears/pytest-docker-py@master\n\nthen\n* create a test, similar to [test/integration/test_plugin.py](https://github.com/jameshnsears/pytest-docker-py/blob/master/test/integration/test_plugin.py)\n* run pytest -s \n\n## 3. Development / PR - on Ubuntu 18.04\n* sudo apt-get install -y build-essential python3-pip python3-venv\n* git clone https://github.com/jameshnsears/pytest-docker-py.git \n* cd pytest-docker-py\n\n### 3.1. Create Virtual Environment\n* ./create-venv.sh\n\n### 3.2. Unit Tests\n* ./run-unit-tests.sh\n\n### 3.3. Integration Tests\n* ./run-integration-tests.sh\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jameshnsears/pytest-docker-py", "keywords": "pytest plugin docker-py", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "pytest-docker-py", "package_url": "https://pypi.org/project/pytest-docker-py/", "platform": "", "project_url": "https://pypi.org/project/pytest-docker-py/", "project_urls": { "Homepage": "https://github.com/jameshnsears/pytest-docker-py" }, "release_url": "https://pypi.org/project/pytest-docker-py/1.1.3/", "requires_dist": [ "pytest (==4.0.0)", "docker (==3.5.1)" ], "requires_python": "", "summary": "Easy to use, simple to extend, pytest plugin that minimally leverages docker-py.", "version": "1.1.3" }, "last_serial": 4534538, "releases": { "1.1.0": [ { "comment_text": "", "digests": { "md5": "d664105fcb7a80847b6aca7faf3dbd43", "sha256": "5347de3d308a6d1451821d624e6842128078a19d1583ed3b59b41bcc7aea8b4c" }, "downloads": -1, "filename": "pytest_docker_py-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d664105fcb7a80847b6aca7faf3dbd43", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8794, "upload_time": "2018-11-22T15:16:19", "url": "https://files.pythonhosted.org/packages/ba/14/879f5f9f43aac69b250886e60ae47dbf3a82cf69b032e33160ba648a9940/pytest_docker_py-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "919db2646ef679d355d1cc22b003b779", "sha256": "8eff0e201144b6ec74201db937cbaf06f9775442b6214d219f84bf4df6ee8122" }, "downloads": -1, "filename": "pytest-docker-py-1.1.0.tar.gz", "has_sig": false, "md5_digest": "919db2646ef679d355d1cc22b003b779", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3561, "upload_time": "2018-11-22T15:16:21", "url": "https://files.pythonhosted.org/packages/11/c7/1cbe23db12c2bfe5a7ecca37a0d9c9f4f07eb9281c7e0220dbbd789cb79b/pytest-docker-py-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "8cd41ae6d4589ef566cec043d58a5872", "sha256": "bc76e1f217a393f55dd6cb15bb23809d8f7bedb67af454d6fd36b58e9a5fe633" }, "downloads": -1, "filename": "pytest_docker_py-1.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "8cd41ae6d4589ef566cec043d58a5872", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8880, "upload_time": "2018-11-26T14:49:45", "url": "https://files.pythonhosted.org/packages/68/13/a716b3bee335594d9abb331cd1dc0256dbd87cf18eb62f185238dd6c45c6/pytest_docker_py-1.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c88eb3a51f508ad9fa9afe18153ba1c5", "sha256": "b237e94722bfb4c6ce370f1b76838ec78ab7ff20a6ad4262c2e8468bcda0d382" }, "downloads": -1, "filename": "pytest-docker-py-1.1.1.tar.gz", "has_sig": false, "md5_digest": "c88eb3a51f508ad9fa9afe18153ba1c5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3706, "upload_time": "2018-11-26T14:49:47", "url": "https://files.pythonhosted.org/packages/50/79/5636f9e3af9f36dc37e02d8d781917dbb35ef0f225f7f4c309baab85440b/pytest-docker-py-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "b0c3932e30e6254dcf34af7144649571", "sha256": "3cc2e7616429c96dcda4caf9b7dbaab91bd474a181216544e267718030398074" }, "downloads": -1, "filename": "pytest_docker_py-1.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "b0c3932e30e6254dcf34af7144649571", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8883, "upload_time": "2018-11-26T19:50:00", "url": "https://files.pythonhosted.org/packages/69/f1/9c56179fb2c84a3381e66721d1e4d4465a2d386a6d83cd550737e29d0b1a/pytest_docker_py-1.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "161199418c0f7e30c9176bd683097de2", "sha256": "d625eec26767647c9204f8a3be5f24ceaa943c954a556da1f23e04d5a845122b" }, "downloads": -1, "filename": "pytest-docker-py-1.1.2.tar.gz", "has_sig": false, "md5_digest": "161199418c0f7e30c9176bd683097de2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3703, "upload_time": "2018-11-26T19:50:01", "url": "https://files.pythonhosted.org/packages/b1/f3/0dbe828c64badc62f04a08c1c0b9a0d825ab59b74df4f7972f15b6d2a2d4/pytest-docker-py-1.1.2.tar.gz" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "fdcb3c06ba275da86368754e1c23d6c7", "sha256": "3ef74aef6a45ecdf329b221b5c0dcadc05d722c8ab439ef12386fefcfc1cf1c0" }, "downloads": -1, "filename": "pytest_docker_py-1.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "fdcb3c06ba275da86368754e1c23d6c7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8889, "upload_time": "2018-11-27T15:06:02", "url": "https://files.pythonhosted.org/packages/8e/43/78e7a028e5d03c1d506db8f65580a68c75c7866d47bec76bf8ae928503e7/pytest_docker_py-1.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "27beb32e71cb372de39e6e92ae76db49", "sha256": "c253ae3bd23e4d0437ec19049b27d65f9f20c48c8f9cdfc0b1875d85e0a675c3" }, "downloads": -1, "filename": "pytest-docker-py-1.1.3.tar.gz", "has_sig": false, "md5_digest": "27beb32e71cb372de39e6e92ae76db49", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3691, "upload_time": "2018-11-27T15:06:03", "url": "https://files.pythonhosted.org/packages/1c/d6/d50069fc195480513b53ad92bfded768207e6864a900cf62de565f3c5cd4/pytest-docker-py-1.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fdcb3c06ba275da86368754e1c23d6c7", "sha256": "3ef74aef6a45ecdf329b221b5c0dcadc05d722c8ab439ef12386fefcfc1cf1c0" }, "downloads": -1, "filename": "pytest_docker_py-1.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "fdcb3c06ba275da86368754e1c23d6c7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8889, "upload_time": "2018-11-27T15:06:02", "url": "https://files.pythonhosted.org/packages/8e/43/78e7a028e5d03c1d506db8f65580a68c75c7866d47bec76bf8ae928503e7/pytest_docker_py-1.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "27beb32e71cb372de39e6e92ae76db49", "sha256": "c253ae3bd23e4d0437ec19049b27d65f9f20c48c8f9cdfc0b1875d85e0a675c3" }, "downloads": -1, "filename": "pytest-docker-py-1.1.3.tar.gz", "has_sig": false, "md5_digest": "27beb32e71cb372de39e6e92ae76db49", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3691, "upload_time": "2018-11-27T15:06:03", "url": "https://files.pythonhosted.org/packages/1c/d6/d50069fc195480513b53ad92bfded768207e6864a900cf62de565f3c5cd4/pytest-docker-py-1.1.3.tar.gz" } ] }