{ "info": { "author": "Andrew Bentley", "author_email": "andrew.t.bentley@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Pock\n====\n\n.. image:: https://travis-ci.org/atbentley/pock.svg?branch=master\n :target: https://travis-ci.org/atbentley/pock\n\n.. image:: https://coveralls.io/repos/github/atbentley/pock/badge.svg?branch=master\n :target: https://coveralls.io/github/atbentley/pock?branch=master\n\nPock is a mocking framework for Python that makes creating complex test behaviour a breeze. See the `documentation `_ for more information.\n\nInstallation\n------------\n\n.. code-block::\n\n pip install pock\n\n\nUsage\n-----\n\nCreate a mock and add some basic behaviour:\n\n.. code-block:: python\n\n from pock import mock, when, verify\n\n my_mock = mock()\n\n when(my_mock).greet('Andrew').then_return('Hi, Andrew')\n my_mock.greet('Andrew') # 'Hi, Andrew'\n verify(my_mock).greet('Andrew')\n\n\nTesting\n-------\n\n.. code-block::\n\n pip install plank\n plank install_requirements\n plank tests\n\n\nLicense\n-------\n\nMIT", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/atbentley/pock", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "pock", "package_url": "https://pypi.org/project/pock/", "platform": "any", "project_url": "https://pypi.org/project/pock/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/atbentley/pock" }, "release_url": "https://pypi.org/project/pock/0.0.6/", "requires_dist": null, "requires_python": null, "summary": "A python mocking framework.", "version": "0.0.6" }, "last_serial": 2619864, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "b431ee34c18fda7a8fdb47b5a41a51a7", "sha256": "377922afe1a1bc7d1708ca824b9efaf4c05f22be73fbb5c8350aa4b82ad36128" }, "downloads": -1, "filename": "pock-0.0.1.tar.gz", "has_sig": false, "md5_digest": "b431ee34c18fda7a8fdb47b5a41a51a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8488, "upload_time": "2016-09-30T05:44:42", "url": "https://files.pythonhosted.org/packages/9a/f9/112c964bde3af73980d7e0e3ea2b9e9f834576d5ee19078eb8001621c433/pock-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "63307f0ea7a709768513db1f8067ca1a", "sha256": "4044a713e322128b1759a00dcc810128ca11d87a0de7fe28127e30eaa1bf3d51" }, "downloads": -1, "filename": "pock-0.0.2.tar.gz", "has_sig": false, "md5_digest": "63307f0ea7a709768513db1f8067ca1a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9643, "upload_time": "2016-10-04T10:54:24", "url": "https://files.pythonhosted.org/packages/25/02/2ed4626d58ea055ba9e399af60fd167b1252b2810dd49aeb9b4bab69186e/pock-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "20eae071db5423749ff1f7857ca2e937", "sha256": "6b078ac171d84983a9631764c6210706c3fcc77f5f16ca051baa055984a5d6cd" }, "downloads": -1, "filename": "pock-0.0.3.tar.gz", "has_sig": false, "md5_digest": "20eae071db5423749ff1f7857ca2e937", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9700, "upload_time": "2016-10-22T04:52:39", "url": "https://files.pythonhosted.org/packages/32/bb/91cc5961e8ed8929d8f91d2b213e40fa87f266240bca3735069f5f19f7ce/pock-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "5662ffaeaf1887cae050a25e0a86aa15", "sha256": "4b5dba5c79883b070399481614ad09a0ad5eb333d23c62d8ddb0eedab209c7c9" }, "downloads": -1, "filename": "pock-0.0.4.tar.gz", "has_sig": false, "md5_digest": "5662ffaeaf1887cae050a25e0a86aa15", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10093, "upload_time": "2016-12-27T04:46:09", "url": "https://files.pythonhosted.org/packages/67/8d/6022c000435486a7be78045f714e7a7999e062bdd2e6f74d8c8c4526b15b/pock-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "0bc5bee1a815c3be194023c18b2441f2", "sha256": "404d50d4b48e8136ad242e11d1ab6017676fb88ab9737ceae2ae97ecc2152b19" }, "downloads": -1, "filename": "pock-0.0.5.tar.gz", "has_sig": false, "md5_digest": "0bc5bee1a815c3be194023c18b2441f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10345, "upload_time": "2017-01-15T01:01:42", "url": "https://files.pythonhosted.org/packages/49/e2/2d08d90e253dc2e30e35cb847dc19ec405966fa00c27895c48fa33f1ad01/pock-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "3a8008e09081c199da0b90b2080cbd3b", "sha256": "8fcd2197338b4c85b1bdb73524f514a08597435f90b034c480614790196ee930" }, "downloads": -1, "filename": "pock-0.0.6.tar.gz", "has_sig": false, "md5_digest": "3a8008e09081c199da0b90b2080cbd3b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9997, "upload_time": "2017-02-05T02:01:17", "url": "https://files.pythonhosted.org/packages/14/9e/71e35e7cdd67a75b4b22d5660ddcf7ef18e8f844d3c2d89af455ffcb0ce5/pock-0.0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3a8008e09081c199da0b90b2080cbd3b", "sha256": "8fcd2197338b4c85b1bdb73524f514a08597435f90b034c480614790196ee930" }, "downloads": -1, "filename": "pock-0.0.6.tar.gz", "has_sig": false, "md5_digest": "3a8008e09081c199da0b90b2080cbd3b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9997, "upload_time": "2017-02-05T02:01:17", "url": "https://files.pythonhosted.org/packages/14/9e/71e35e7cdd67a75b4b22d5660ddcf7ef18e8f844d3c2d89af455ffcb0ce5/pock-0.0.6.tar.gz" } ] }