{ "info": { "author": "Evan Fagerberg", "author_email": "adioevan@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Testing" ], "description": "pytest-fabric\n-------------\n\n.. image:: https://travis-ci.org/efagerberg/pytest-fabric.svg?branch=master\n :target: https://travis-ci.org/efagerberg/pytest-fabric\n\n\nRequirements\n============\n\n- Python 2.7\n- Fabric 1.14.0\n\n\nTODOs (will make into issues eventually)\n========================================\n\n* Only runs one host right now if using `fabric_host` fixture (Support multiple container)\n\n\nUsage\n=====\n\n``fabric_host`` will set up the fabric environment to be SSHable\nThe object is a `docker.models.containers.Container` object.\n\nFrom here, users should be able to exec into the container to check\nthings like the image files and such.\n\nNote: This should work for docker-machine or docker\n\n.. code:: python\n\n from fabric.api import execute\n\n from .fabric_tasks import create_readme\n\n\n def test_fabric_task_executes(fabric_host):\n execute(create_readme)\n ls_results = fabric_host.exec_run('ls /tmp/')\n assert ls_results[1].strip() == 'README.rst'\n\n\nNote: pytest-capture does not like when we try to actually write to stdout like in fabric so make sure to add ``-s`` to your pytest args\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/efagerberg/pytest-fabric", "keywords": "fabric docker pytest python", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pytest-fabric", "package_url": "https://pypi.org/project/pytest-fabric/", "platform": "", "project_url": "https://pypi.org/project/pytest-fabric/", "project_urls": { "Homepage": "http://github.com/efagerberg/pytest-fabric" }, "release_url": "https://pypi.org/project/pytest-fabric/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "Provides test utilities to run fabric task tests by using docker containers", "version": "1.0.0" }, "last_serial": 4265647, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "f9f5b9f3f32b7f949fa9f666e9e50105", "sha256": "13b56c190a7a79f24431a976a7cc8f778cdd0f5d322c12da85bfc819b46c26bc" }, "downloads": -1, "filename": "pytest-fabric-1.0.0.tar.gz", "has_sig": false, "md5_digest": "f9f5b9f3f32b7f949fa9f666e9e50105", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3706, "upload_time": "2018-09-12T16:41:24", "url": "https://files.pythonhosted.org/packages/9a/f1/885e69753cc278cdc3439d88928699388ba284518829667004037e393645/pytest-fabric-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f9f5b9f3f32b7f949fa9f666e9e50105", "sha256": "13b56c190a7a79f24431a976a7cc8f778cdd0f5d322c12da85bfc819b46c26bc" }, "downloads": -1, "filename": "pytest-fabric-1.0.0.tar.gz", "has_sig": false, "md5_digest": "f9f5b9f3f32b7f949fa9f666e9e50105", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3706, "upload_time": "2018-09-12T16:41:24", "url": "https://files.pythonhosted.org/packages/9a/f1/885e69753cc278cdc3439d88928699388ba284518829667004037e393645/pytest-fabric-1.0.0.tar.gz" } ] }