{ "info": { "author": "F5 Networks", "author_email": "qetools@f5.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Testing" ], "description": "pytest-symbols\n==============\n\n|Build Status|\n\nOverview\n--------\n\n- pytest-symbols is a pytest plugin that adds support for passing test\n environment symbols into pytest tests.\n- The supported formats for symbols files are json and yaml.\n\nInstallation\n------------\n\n.. code:: shell\n\n pip install https://github.com/F5Networks/pytest-symbols.git\n\nUsage\n-----\n\n- use the \"--symbols\" option to pass symbols into a pytest run:\n\n.. code:: shell\n\n py.test --symbols tests/demo.json -- tests/demo.py\n\n- use the \"symbols\" fixture to access symbols within a test:\n\n.. code:: python\n\n def test_with_symbols_fixture(self, symbols):\n print symbols\n assert symbols.client_ip == \"192.168.1.1\"\n assert symbols.server_ip == \"192.168.2.1\"\n\n- use \"pytest.symbols\" to access symbols outside the \"symbols\" fixture:\n\n.. code:: python\n\n import pytest\n\n from pytest import symbols as foo\n\n\n def test_without_symbols_fixture(self):\n print pytest.symbols\n assert symbols.client_ip == \"192.168.1.1\"\n assert symbols.server_ip == \"192.168.2.1\" \n print foo\n assert foo.client_ip == \"192.168.1.1\"\n assert foo.server_ip == \"192.168.2.1\"\n\nDocumentation\n-------------\n\nhttps://pytest-symbols.readthedocs.org\n\nHow to Contribute\n-----------------\n\n- Contributions are warmly welcomed.\n- Contributions should be associated with an open issue.\n- Find an open issue that interests you, or create a new one if you\n don't find what you're looking for in the backlog.\n- Fork this repository on GitHub and make your changes in the master\n branch (or branch off of it).\n- Write tests that verify the issue has been resolved (ie. the bug was\n fixed or the new feature works as expected).\n- Add yourself to AUTHORS.rst.\n- Send a pull request.\n- Sit back and wait for the plaudits to roll in.\n\nContact\n-------\n\nqetools@f5.com\n\nSupport\n-------\n\nSee `Support `__\n\nCopyright\n---------\n\nCopyright 2016 F5 Networks Inc.\n\nContributor License Agreement\n-----------------------------\n\nIndividuals or business entities who contribute to this project must\nhave completed and submitted the `F5 Contributor License\nAgreement `__\nto Openstack\\_CLA@f5.com prior to their code submission being included\nin this project.\n\nLicense\n-------\n\nApache V2.0\n^^^^^^^^^^^\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may\nnot use this file except in compliance with the License. You may obtain\na copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n.. |Build Status| image:: https://travis-ci.org/F5Networks/pytest-symbols.svg?branch=master\n :target: https://travis-ci.org/F5Networks/pytest-symbols", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/F5Networks/pytest-symbols", "keywords": "F5,testing", "license": "Apache License, Version 2.0", "maintainer": "", "maintainer_email": "", "name": "pytest-symbols", "package_url": "https://pypi.org/project/pytest-symbols/", "platform": "", "project_url": "https://pypi.org/project/pytest-symbols/", "project_urls": { "Homepage": "https://github.com/F5Networks/pytest-symbols" }, "release_url": "https://pypi.org/project/pytest-symbols/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "pytest-symbols is a pytest plugin that adds support for passing test environment symbols into pytest tests.", "version": "0.1.1" }, "last_serial": 3349827, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "ee96e46515a8d084c59d9e14e50a5b8c", "sha256": "d4d7736ae1b9c2a9044ed7b4ea60faa6b5856328d98adab3f5d8d80721253657" }, "downloads": -1, "filename": "pytest_symbols-0.1.1.tar.gz", "has_sig": false, "md5_digest": "ee96e46515a8d084c59d9e14e50a5b8c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4189, "upload_time": "2017-11-20T18:05:22", "url": "https://files.pythonhosted.org/packages/6f/72/e66369f6c7cffcb55462cfa0395c04d98601a2d9dc33846ea3178cd2e118/pytest_symbols-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ee96e46515a8d084c59d9e14e50a5b8c", "sha256": "d4d7736ae1b9c2a9044ed7b4ea60faa6b5856328d98adab3f5d8d80721253657" }, "downloads": -1, "filename": "pytest_symbols-0.1.1.tar.gz", "has_sig": false, "md5_digest": "ee96e46515a8d084c59d9e14e50a5b8c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4189, "upload_time": "2017-11-20T18:05:22", "url": "https://files.pythonhosted.org/packages/6f/72/e66369f6c7cffcb55462cfa0395c04d98601a2d9dc33846ea3178cd2e118/pytest_symbols-0.1.1.tar.gz" } ] }