{"action":"closed","number":26,"pull_request":{"url":"https://api.github.com/repos/rodrigobraga/informer/pulls/26","id":97419590,"html_url":"https://github.com/rodrigobraga/informer/pull/26","diff_url":"https://github.com/rodrigobraga/informer/pull/26.diff","patch_url":"https://github.com/rodrigobraga/informer/pull/26.patch","issue_url":"https://api.github.com/repos/rodrigobraga/informer/issues/26","number":26,"state":"closed","locked":false,"title":"Update pytest-django to 3.1.2","user":{"login":"pyup-bot","id":16239342,"avatar_url":"https://avatars.githubusercontent.com/u/16239342?v=3","gravatar_id":"","url":"https://api.github.com/users/pyup-bot","html_url":"https://github.com/pyup-bot","followers_url":"https://api.github.com/users/pyup-bot/followers","following_url":"https://api.github.com/users/pyup-bot/following{/other_user}","gists_url":"https://api.github.com/users/pyup-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/pyup-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyup-bot/subscriptions","organizations_url":"https://api.github.com/users/pyup-bot/orgs","repos_url":"https://api.github.com/users/pyup-bot/repos","events_url":"https://api.github.com/users/pyup-bot/events{/privacy}","received_events_url":"https://api.github.com/users/pyup-bot/received_events","type":"User","site_admin":false},"body":"\nThere's a new version of [pytest-django](https://pypi.python.org/pypi/pytest-django) available.\nYou are currently using **2.9.1**. I have updated it to **3.1.2**\n\n\n\nThese links might come in handy:  <a href=\"http://pypi.python.org/pypi/pytest-django\">PyPI</a> | <a href=\"https://pyup.io/changelogs/pytest-django/\">Changelog</a> | <a href=\"https://pytest-django.readthedocs.io/\">Docs</a> \n\n\n\n### Changelog\n> \n>### 3.1.2\n\n>-----\n\n>Bug fixes\n>^^^^^^^^^\n\n>* Auto clearing of ``mail.outbox`` has been re-introduced to not break\n>  functionality in 3.x.x release. This means that Compatibility issues\n>  mentioned in the 3.1.0 release are no longer present. Related issue:\n>  _`pytest-django issue &lt;https://github.com/pytest-dev/pytest-django/issues/433&gt;`\n\n\n\n>### 3.1.1\n\n>-----\n\n>Bug fixes\n>^^^^^^^^^\n\n>* Workaround `--pdb` interaction with Django TestCase. The issue is caused by\n>  Django TestCase not implementing TestCase.debug() properly but was brought to\n>  attention with recent changes in pytest 3.0.2. Related issues: `pytest issue &lt;https://github.com/pytest-dev/pytest/issues/1977&gt;`_, \n>  `Django issue &lt;https://code.djangoproject.com/ticket/27391&gt;`_.\n\n\n\n>### 3.1.0\n\n>-----\n\n>Features\n>^^^^^^^^\n>* Added new function scoped fixture ``mailoutbox`` that gives access to\n>  djangos ``mail.outbox``. The will clean/empty the ``mail.outbox`` to\n>  assure that no old mails are still in the outbox.\n>* If ``django.contrib.sites`` is in your INSTALLED_APPS, Site cache will\n>  be cleared for each test to avoid hitting the cache and cause wrong Site\n>  object to be returned by ``Site.objects.get_current()``.\n\n>Compatibility\n>^^^^^^^^^^^^^\n>* IMPORTANT: the internal autouse fixture _django_clear_outbox has been\n>  removed. If you have relied on this to get an empty outbox for your\n>  test, you should change tests to use the ``mailoutbox`` fixture instead.\n>  See documentation of ``mailoutbox`` fixture for usage. If you try to\n>  access mail.outbox directly, AssertionError will be raised. If you\n>  previously relied on the old behaviour and do not want to change your\n>  tests, put this in your project conftest.py::\n\n>    pytest.fixture(autouse=True)\n>    def clear_outbox():\n>        from django.core import mail\n>        mail.outbox = []\n\n\n\n\n>### 3.0.0\n\n>-----\n\n>Bug fixes\n>^^^^^^^^^\n\n>* Fix error when Django happens to be imported before pytest-django runs.\n>  Thanks to Will Harris for `the bug report\n>  &lt;https://github.com/pytest-dev/pytest-django/issues/289&gt;`_.\n\n>Features\n>^^^^^^^^\n>* Added a new option ``--migrations`` to negate a default usage of\n>  ``--nomigrations``.\n\n>* The previously internal pytest-django fixture that handles database creation\n>  and setup has been refactored, refined and made a public API.\n\n>  This opens up more flexibility and advanced use cases to configure the test\n>  database in new ways.\n\n>  See :ref:`advanced-database-configuration` for more information on the new\n>  fixtures and example use cases.\n\n>Compatibility\n>^^^^^^^^^^^^^\n>* Official for the pytest 3.0.0 (2.9.2 release should work too, though). The\n>  documentation is updated to mention ``pytest`` instead of ``py.test``.\n\n>* Django versions 1.4, 1.5 and 1.6 is no longer supported. The supported\n>  versions are now 1.7 and forward. Django master is supported as of\n>  2016-08-21.\n\n>* pytest-django no longer supports Python 2.6.\n\n>* Specifying the ``DJANGO_TEST_LIVE_SERVER_ADDRESS`` environment variable is no\n>  longer supported. Use ``DJANGO_LIVE_TEST_SERVER_ADDRESS`` instead.\n\n>* Ensuring accidental database access is now stricter than before. Previously\n>  database access was prevented on the cursor level. To be safer and prevent\n>  more cases, it is now prevented at the connection level. If you previously\n>  had tests which interacted with the databases without a database cursor, you\n>  will need to mark them with the :func:`pytest.mark.django_db` marker or\n>  request the ``db`` fixture.\n\n>* The previously undocumented internal fixtures ``_django_db_setup``,\n>  ``_django_cursor_wrapper`` have been removed in favour of the new public\n>  fixtures. If you previously relied on these internal fixtures, you must\n>  update your code. See :ref:`advanced-database-configuration` for more\n>  information on the new fixtures and example use cases.\n\n\n\n\n\n\n\n*Got merge conflicts? Close this PR and delete the branch. I'll create a new PR for you.*\n\nHappy merging! 🤖\n","created_at":"2016-12-10T09:48:35Z","updated_at":"2016-12-10T11:09:04Z","closed_at":"2016-12-10T11:09:04Z","merged_at":"2016-12-10T11:09:04Z","merge_commit_sha":"151326891f6885ec3ee4033513ee58e732c39d16","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/rodrigobraga/informer/pulls/26/commits","review_comments_url":"https://api.github.com/repos/rodrigobraga/informer/pulls/26/comments","review_comment_url":"https://api.github.com/repos/rodrigobraga/informer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rodrigobraga/informer/issues/26/comments","statuses_url":"https://api.github.com/repos/rodrigobraga/informer/statuses/705c74e714546783bfdc0ffe35613e39696679e7","head":{"label":"rodrigobraga:pyup-update-pytest-django-2.9.1-to-3.1.2","ref":"pyup-update-pytest-django-2.9.1-to-3.1.2","sha":"705c74e714546783bfdc0ffe35613e39696679e7","user":{"login":"rodrigobraga","id":487794,"avatar_url":"https://avatars.githubusercontent.com/u/487794?v=3","gravatar_id":"","url":"https://api.github.com/users/rodrigobraga","html_url":"https://github.com/rodrigobraga","followers_url":"https://api.github.com/users/rodrigobraga/followers","following_url":"https://api.github.com/users/rodrigobraga/following{/other_user}","gists_url":"https://api.github.com/users/rodrigobraga/gists{/gist_id}","starred_url":"https://api.github.com/users/rodrigobraga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodrigobraga/subscriptions","organizations_url":"https://api.github.com/users/rodrigobraga/orgs","repos_url":"https://api.github.com/users/rodrigobraga/repos","events_url":"https://api.github.com/users/rodrigobraga/events{/privacy}","received_events_url":"https://api.github.com/users/rodrigobraga/received_events","type":"User","site_admin":false},"repo":{"id":36388337,"name":"informer","full_name":"rodrigobraga/informer","owner":{"login":"rodrigobraga","id":487794,"avatar_url":"https://avatars.githubusercontent.com/u/487794?v=3","gravatar_id":"","url":"https://api.github.com/users/rodrigobraga","html_url":"https://github.com/rodrigobraga","followers_url":"https://api.github.com/users/rodrigobraga/followers","following_url":"https://api.github.com/users/rodrigobraga/following{/other_user}","gists_url":"https://api.github.com/users/rodrigobraga/gists{/gist_id}","starred_url":"https://api.github.com/users/rodrigobraga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodrigobraga/subscriptions","organizations_url":"https://api.github.com/users/rodrigobraga/orgs","repos_url":"https://api.github.com/users/rodrigobraga/repos","events_url":"https://api.github.com/users/rodrigobraga/events{/privacy}","received_events_url":"https://api.github.com/users/rodrigobraga/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rodrigobraga/informer","description":"A pluggable app to monitoring your own infrastructure and third party services.","fork":false,"url":"https://api.github.com/repos/rodrigobraga/informer","forks_url":"https://api.github.com/repos/rodrigobraga/informer/forks","keys_url":"https://api.github.com/repos/rodrigobraga/informer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rodrigobraga/informer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rodrigobraga/informer/teams","hooks_url":"https://api.github.com/repos/rodrigobraga/informer/hooks","issue_events_url":"https://api.github.com/repos/rodrigobraga/informer/issues/events{/number}","events_url":"https://api.github.com/repos/rodrigobraga/informer/events","assignees_url":"https://api.github.com/repos/rodrigobraga/informer/assignees{/user}","branches_url":"https://api.github.com/repos/rodrigobraga/informer/branches{/branch}","tags_url":"https://api.github.com/repos/rodrigobraga/informer/tags","blobs_url":"https://api.github.com/repos/rodrigobraga/informer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rodrigobraga/informer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rodrigobraga/informer/git/refs{/sha}","trees_url":"https://api.github.com/repos/rodrigobraga/informer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rodrigobraga/informer/statuses/{sha}","languages_url":"https://api.github.com/repos/rodrigobraga/informer/languages","stargazers_url":"https://api.github.com/repos/rodrigobraga/informer/stargazers","contributors_url":"https://api.github.com/repos/rodrigobraga/informer/contributors","subscribers_url":"https://api.github.com/repos/rodrigobraga/informer/subscribers","subscription_url":"https://api.github.com/repos/rodrigobraga/informer/subscription","commits_url":"https://api.github.com/repos/rodrigobraga/informer/commits{/sha}","git_commits_url":"https://api.github.com/repos/rodrigobraga/informer/git/commits{/sha}","comments_url":"https://api.github.com/repos/rodrigobraga/informer/comments{/number}","issue_comment_url":"https://api.github.com/repos/rodrigobraga/informer/issues/comments{/number}","contents_url":"https://api.github.com/repos/rodrigobraga/informer/contents/{+path}","compare_url":"https://api.github.com/repos/rodrigobraga/informer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rodrigobraga/informer/merges","archive_url":"https://api.github.com/repos/rodrigobraga/informer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rodrigobraga/informer/downloads","issues_url":"https://api.github.com/repos/rodrigobraga/informer/issues{/number}","pulls_url":"https://api.github.com/repos/rodrigobraga/informer/pulls{/number}","milestones_url":"https://api.github.com/repos/rodrigobraga/informer/milestones{/number}","notifications_url":"https://api.github.com/repos/rodrigobraga/informer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rodrigobraga/informer/labels{/name}","releases_url":"https://api.github.com/repos/rodrigobraga/informer/releases{/id}","deployments_url":"https://api.github.com/repos/rodrigobraga/informer/deployments","created_at":"2015-05-27T18:48:22Z","updated_at":"2016-12-10T10:23:24Z","pushed_at":"2016-12-10T11:09:04Z","git_url":"git://github.com/rodrigobraga/informer.git","ssh_url":"git@github.com:rodrigobraga/informer.git","clone_url":"https://github.com/rodrigobraga/informer.git","svn_url":"https://github.com/rodrigobraga/informer","homepage":null,"size":268,"stargazers_count":14,"watchers_count":14,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":11,"forks":1,"open_issues":11,"watchers":14,"default_branch":"master"}},"base":{"label":"rodrigobraga:master","ref":"master","sha":"0e4aed59f78d311ad57f83d2d48fb0643a759847","user":{"login":"rodrigobraga","id":487794,"avatar_url":"https://avatars.githubusercontent.com/u/487794?v=3","gravatar_id":"","url":"https://api.github.com/users/rodrigobraga","html_url":"https://github.com/rodrigobraga","followers_url":"https://api.github.com/users/rodrigobraga/followers","following_url":"https://api.github.com/users/rodrigobraga/following{/other_user}","gists_url":"https://api.github.com/users/rodrigobraga/gists{/gist_id}","starred_url":"https://api.github.com/users/rodrigobraga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodrigobraga/subscriptions","organizations_url":"https://api.github.com/users/rodrigobraga/orgs","repos_url":"https://api.github.com/users/rodrigobraga/repos","events_url":"https://api.github.com/users/rodrigobraga/events{/privacy}","received_events_url":"https://api.github.com/users/rodrigobraga/received_events","type":"User","site_admin":false},"repo":{"id":36388337,"name":"informer","full_name":"rodrigobraga/informer","owner":{"login":"rodrigobraga","id":487794,"avatar_url":"https://avatars.githubusercontent.com/u/487794?v=3","gravatar_id":"","url":"https://api.github.com/users/rodrigobraga","html_url":"https://github.com/rodrigobraga","followers_url":"https://api.github.com/users/rodrigobraga/followers","following_url":"https://api.github.com/users/rodrigobraga/following{/other_user}","gists_url":"https://api.github.com/users/rodrigobraga/gists{/gist_id}","starred_url":"https://api.github.com/users/rodrigobraga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodrigobraga/subscriptions","organizations_url":"https://api.github.com/users/rodrigobraga/orgs","repos_url":"https://api.github.com/users/rodrigobraga/repos","events_url":"https://api.github.com/users/rodrigobraga/events{/privacy}","received_events_url":"https://api.github.com/users/rodrigobraga/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rodrigobraga/informer","description":"A pluggable app to monitoring your own infrastructure and third party services.","fork":false,"url":"https://api.github.com/repos/rodrigobraga/informer","forks_url":"https://api.github.com/repos/rodrigobraga/informer/forks","keys_url":"https://api.github.com/repos/rodrigobraga/informer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rodrigobraga/informer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rodrigobraga/informer/teams","hooks_url":"https://api.github.com/repos/rodrigobraga/informer/hooks","issue_events_url":"https://api.github.com/repos/rodrigobraga/informer/issues/events{/number}","events_url":"https://api.github.com/repos/rodrigobraga/informer/events","assignees_url":"https://api.github.com/repos/rodrigobraga/informer/assignees{/user}","branches_url":"https://api.github.com/repos/rodrigobraga/informer/branches{/branch}","tags_url":"https://api.github.com/repos/rodrigobraga/informer/tags","blobs_url":"https://api.github.com/repos/rodrigobraga/informer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rodrigobraga/informer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rodrigobraga/informer/git/refs{/sha}","trees_url":"https://api.github.com/repos/rodrigobraga/informer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rodrigobraga/informer/statuses/{sha}","languages_url":"https://api.github.com/repos/rodrigobraga/informer/languages","stargazers_url":"https://api.github.com/repos/rodrigobraga/informer/stargazers","contributors_url":"https://api.github.com/repos/rodrigobraga/informer/contributors","subscribers_url":"https://api.github.com/repos/rodrigobraga/informer/subscribers","subscription_url":"https://api.github.com/repos/rodrigobraga/informer/subscription","commits_url":"https://api.github.com/repos/rodrigobraga/informer/commits{/sha}","git_commits_url":"https://api.github.com/repos/rodrigobraga/informer/git/commits{/sha}","comments_url":"https://api.github.com/repos/rodrigobraga/informer/comments{/number}","issue_comment_url":"https://api.github.com/repos/rodrigobraga/informer/issues/comments{/number}","contents_url":"https://api.github.com/repos/rodrigobraga/informer/contents/{+path}","compare_url":"https://api.github.com/repos/rodrigobraga/informer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rodrigobraga/informer/merges","archive_url":"https://api.github.com/repos/rodrigobraga/informer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rodrigobraga/informer/downloads","issues_url":"https://api.github.com/repos/rodrigobraga/informer/issues{/number}","pulls_url":"https://api.github.com/repos/rodrigobraga/informer/pulls{/number}","milestones_url":"https://api.github.com/repos/rodrigobraga/informer/milestones{/number}","notifications_url":"https://api.github.com/repos/rodrigobraga/informer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rodrigobraga/informer/labels{/name}","releases_url":"https://api.github.com/repos/rodrigobraga/informer/releases{/id}","deployments_url":"https://api.github.com/repos/rodrigobraga/informer/deployments","created_at":"2015-05-27T18:48:22Z","updated_at":"2016-12-10T10:23:24Z","pushed_at":"2016-12-10T11:09:04Z","git_url":"git://github.com/rodrigobraga/informer.git","ssh_url":"git@github.com:rodrigobraga/informer.git","clone_url":"https://github.com/rodrigobraga/informer.git","svn_url":"https://github.com/rodrigobraga/informer","homepage":null,"size":268,"stargazers_count":14,"watchers_count":14,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":11,"forks":1,"open_issues":11,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rodrigobraga/informer/pulls/26"},"html":{"href":"https://github.com/rodrigobraga/informer/pull/26"},"issue":{"href":"https://api.github.com/repos/rodrigobraga/informer/issues/26"},"comments":{"href":"https://api.github.com/repos/rodrigobraga/informer/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/rodrigobraga/informer/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/rodrigobraga/informer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rodrigobraga/informer/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/rodrigobraga/informer/statuses/705c74e714546783bfdc0ffe35613e39696679e7"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"rodrigobraga","id":487794,"avatar_url":"https://avatars.githubusercontent.com/u/487794?v=3","gravatar_id":"","url":"https://api.github.com/users/rodrigobraga","html_url":"https://github.com/rodrigobraga","followers_url":"https://api.github.com/users/rodrigobraga/followers","following_url":"https://api.github.com/users/rodrigobraga/following{/other_user}","gists_url":"https://api.github.com/users/rodrigobraga/gists{/gist_id}","starred_url":"https://api.github.com/users/rodrigobraga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodrigobraga/subscriptions","organizations_url":"https://api.github.com/users/rodrigobraga/orgs","repos_url":"https://api.github.com/users/rodrigobraga/repos","events_url":"https://api.github.com/users/rodrigobraga/events{/privacy}","received_events_url":"https://api.github.com/users/rodrigobraga/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":4,"additions":3,"deletions":3,"changed_files":3}}
{"actor":{"display_login":"rodrigobraga"}}