{"action":"created","issue":{"url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/6231","repository_url":"https://api.github.com/repos/SatelliteQE/robottelo","labels_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/6231/labels{/name}","comments_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/6231/comments","events_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/6231/events","html_url":"https://github.com/SatelliteQE/robottelo/pull/6231","id":354282375,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExMDgyMDA0","number":6231,"title":"Update pytest to 3.7.3","user":{"login":"pyup-bot","id":16239342,"node_id":"MDQ6VXNlcjE2MjM5MzQy","avatar_url":"https://avatars0.githubusercontent.com/u/16239342?v=4","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},"labels":[{"id":404622871,"node_id":"MDU6TGFiZWw0MDQ2MjI4NzE=","url":"https://api.github.com/repos/SatelliteQE/robottelo/labels/review","name":"review","color":"00ff00","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-27T11:32:12Z","updated_at":"2018-08-27T11:41:25Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/6231","html_url":"https://github.com/SatelliteQE/robottelo/pull/6231","diff_url":"https://github.com/SatelliteQE/robottelo/pull/6231.diff","patch_url":"https://github.com/SatelliteQE/robottelo/pull/6231.patch"},"body":"\nThis PR updates [pytest](https://pypi.org/project/pytest) from **3.6.1** to **3.7.3**.\n\n\n\n<details>\n  <summary>Changelog</summary>\n  \n  \n   ### 3.7.2\n   ```\n   =========================\n\nBug Fixes\n---------\n\n- `3671 &lt;https://github.com/pytest-dev/pytest/issues/3671&gt;`_: Fix ``filterwarnings`` not being registered as a builtin mark.\n\n\n- `3768 &lt;https://github.com/pytest-dev/pytest/issues/3768&gt;`_, `3789 &lt;https://github.com/pytest-dev/pytest/issues/3789&gt;`_: Fix test collection from packages mixed with normal directories.\n\n\n- `3771 &lt;https://github.com/pytest-dev/pytest/issues/3771&gt;`_: Fix infinite recursion during collection if a ``pytest_ignore_collect`` hook returns ``False`` instead of ``None``.\n\n\n- `3774 &lt;https://github.com/pytest-dev/pytest/issues/3774&gt;`_: Fix bug where decorated fixtures would lose functionality (for example ``mock.patch``).\n\n\n- `3775 &lt;https://github.com/pytest-dev/pytest/issues/3775&gt;`_: Fix bug where importing modules or other objects with prefix ``pytest_`` prefix would raise a ``PluginValidationError``.\n\n\n- `3788 &lt;https://github.com/pytest-dev/pytest/issues/3788&gt;`_: Fix ``AttributeError`` during teardown of ``TestCase`` subclasses which raise an exception during ``__init__``.\n\n\n- `3804 &lt;https://github.com/pytest-dev/pytest/issues/3804&gt;`_: Fix traceback reporting for exceptions with ``__cause__`` cycles.\n\n\n\nImproved Documentation\n----------------------\n\n- `3746 &lt;https://github.com/pytest-dev/pytest/issues/3746&gt;`_: Add documentation for ``metafunc.config`` that had been mistakenly hidden.\n   ```\n   \n  \n  \n   ### 3.7.1\n   ```\n   =========================\n\nBug Fixes\n---------\n\n- `3473 &lt;https://github.com/pytest-dev/pytest/issues/3473&gt;`_: Raise immediately if ``approx()`` is given an expected value of a type it doesn&#39;t understand (e.g. strings, nested dicts, etc.).\n\n\n- `3712 &lt;https://github.com/pytest-dev/pytest/issues/3712&gt;`_: Correctly represent the dimensions of an numpy array when calling ``repr()`` on ``approx()``.\n\n- `3742 &lt;https://github.com/pytest-dev/pytest/issues/3742&gt;`_: Fix incompatibility with third party plugins during collection, which produced the error ``object has no attribute &#39;_collectfile&#39;``.\n\n- `3745 &lt;https://github.com/pytest-dev/pytest/issues/3745&gt;`_: Display the absolute path if ``cache_dir`` is not relative to the ``rootdir`` instead of failing.\n\n\n- `3747 &lt;https://github.com/pytest-dev/pytest/issues/3747&gt;`_: Fix compatibility problem with plugins and the warning code issued by fixture functions when they are called directly.\n\n\n- `3748 &lt;https://github.com/pytest-dev/pytest/issues/3748&gt;`_: Fix infinite recursion in ``pytest.approx`` with arrays in ``numpy&lt;1.13``.\n\n\n- `3757 &lt;https://github.com/pytest-dev/pytest/issues/3757&gt;`_: Pin pathlib2 to ``&gt;=2.2.0`` as we require ``__fspath__`` support.\n\n\n- `3763 &lt;https://github.com/pytest-dev/pytest/issues/3763&gt;`_: Fix ``TypeError`` when the assertion message is ``bytes`` in python 3.\n   ```\n   \n  \n  \n   ### 3.7.0\n   ```\n   =========================\n\nDeprecations and Removals\n-------------------------\n\n- `2639 &lt;https://github.com/pytest-dev/pytest/issues/2639&gt;`_: ``pytest_namespace`` has been deprecated.\n\n  See the documentation for ``pytest_namespace`` hook for suggestions on how to deal\n  with this in plugins which use this functionality.\n\n\n- `3661 &lt;https://github.com/pytest-dev/pytest/issues/3661&gt;`_: Calling a fixture function directly, as opposed to request them in a test function, now issues a ``RemovedInPytest4Warning``. It will be changed into an error in pytest ``4.0``.\n\n  This is a great source of confusion to new users, which will often call the fixture functions and request them from test functions interchangeably, which breaks the fixture resolution model.\n\n\n\nFeatures\n--------\n\n- `2283 &lt;https://github.com/pytest-dev/pytest/issues/2283&gt;`_: New ``package`` fixture scope: fixtures are finalized when the last test of a *package* finishes. This feature is considered **experimental**, so use it sparingly.\n\n\n- `3576 &lt;https://github.com/pytest-dev/pytest/issues/3576&gt;`_: ``Node.add_marker`` now supports an ``append=True/False`` parameter to determine whether the mark comes last (default) or first.\n\n\n- `3579 &lt;https://github.com/pytest-dev/pytest/issues/3579&gt;`_: Fixture ``caplog`` now has a ``messages`` property, providing convenient access to the format-interpolated log messages without the extra data provided by the formatter/handler.\n\n\n- `3610 &lt;https://github.com/pytest-dev/pytest/issues/3610&gt;`_: New ``--trace`` option to enter the debugger at the start of a test.\n\n\n- `3623 &lt;https://github.com/pytest-dev/pytest/issues/3623&gt;`_: Introduce ``pytester.copy_example`` as helper to do acceptance tests against examples from the project.\n\n\n\nBug Fixes\n---------\n\n- `2220 &lt;https://github.com/pytest-dev/pytest/issues/2220&gt;`_: Fix a bug where fixtures overridden by direct parameters (for example parametrization) were being instantiated even if they were not being used by a test.\n\n\n- `3695 &lt;https://github.com/pytest-dev/pytest/issues/3695&gt;`_: Fix ``ApproxNumpy`` initialisation argument mixup, ``abs`` and ``rel`` tolerances were flipped causing strange comparsion results.\n  Add tests to check ``abs`` and ``rel`` tolerances for ``np.array`` and test for expecting ``nan`` with ``np.array()``\n\n\n- `980 &lt;https://github.com/pytest-dev/pytest/issues/980&gt;`_: Fix truncated locals output in verbose mode.\n\n\n\nImproved Documentation\n----------------------\n\n- `3295 &lt;https://github.com/pytest-dev/pytest/issues/3295&gt;`_: Correct the usage documentation of ``--last-failed-no-failures`` by adding the missing ``--last-failed`` argument in the presented examples, because they are misleading and lead to think that the missing argument is not needed.\n\n\n\nTrivial/Internal Changes\n------------------------\n\n- `3519 &lt;https://github.com/pytest-dev/pytest/issues/3519&gt;`_: Now a ``README.md`` file is created in ``.pytest_cache`` to make it clear why the directory exists.\n   ```\n   \n  \n  \n   ### 3.6.4\n   ```\n   =========================\n\nBug Fixes\n---------\n\n- Invoke pytest using ``-mpytest`` so ``sys.path`` does not get polluted by packages installed in ``site-packages``. (`742 &lt;https://github.com/pytest-dev/pytest/issues/742&gt;`_)\n\n\nImproved Documentation\n----------------------\n\n- Use ``smtp_connection`` instead of ``smtp`` in fixtures documentation to avoid possible confusion. (`3592 &lt;https://github.com/pytest-dev/pytest/issues/3592&gt;`_)\n\n\nTrivial/Internal Changes\n------------------------\n\n- Remove obsolete ``__future__`` imports. (`2319 &lt;https://github.com/pytest-dev/pytest/issues/2319&gt;`_)\n\n- Add CITATION to provide information on how to formally cite pytest. (`3402 &lt;https://github.com/pytest-dev/pytest/issues/3402&gt;`_)\n\n- Replace broken type annotations with type comments. (`3635 &lt;https://github.com/pytest-dev/pytest/issues/3635&gt;`_)\n\n- Pin ``pluggy`` to ``&lt;0.8``. (`3727 &lt;https://github.com/pytest-dev/pytest/issues/3727&gt;`_)\n   ```\n   \n  \n  \n   ### 3.6.3\n   ```\n   =========================\n\nBug Fixes\n---------\n\n- Fix ``ImportWarning`` triggered by explicit relative imports in\n  assertion-rewritten package modules. (`3061\n  &lt;https://github.com/pytest-dev/pytest/issues/3061&gt;`_)\n\n- Fix error in ``pytest.approx`` when dealing with 0-dimension numpy\n  arrays. (`3593 &lt;https://github.com/pytest-dev/pytest/issues/3593&gt;`_)\n\n- No longer raise ``ValueError`` when using the ``get_marker`` API. (`3605\n  &lt;https://github.com/pytest-dev/pytest/issues/3605&gt;`_)\n\n- Fix problem where log messages with non-ascii characters would not\n  appear in the output log file.\n  (`3630 &lt;https://github.com/pytest-dev/pytest/issues/3630&gt;`_)\n\n- No longer raise ``AttributeError`` when legacy marks can&#39;t be stored in\n  functions. (`3631 &lt;https://github.com/pytest-dev/pytest/issues/3631&gt;`_)\n\n\nImproved Documentation\n----------------------\n\n- The description above the example for ``pytest.mark.skipif`` now better\n  matches the code. (`3611\n  &lt;https://github.com/pytest-dev/pytest/issues/3611&gt;`_)\n\n\nTrivial/Internal Changes\n------------------------\n\n- Internal refactoring: removed unused ``CallSpec2tox ._globalid_args``\n  attribute and ``metafunc`` parameter from ``CallSpec2.copy()``. (`3598\n  &lt;https://github.com/pytest-dev/pytest/issues/3598&gt;`_)\n\n- Silence usage of ``reduce`` warning in Python 2 (`3609\n  &lt;https://github.com/pytest-dev/pytest/issues/3609&gt;`_)\n\n- Fix usage of ``attr.ib`` deprecated ``convert`` parameter. (`3653\n  &lt;https://github.com/pytest-dev/pytest/issues/3653&gt;`_)\n   ```\n   \n  \n  \n   ### 3.6.2\n   ```\n   =========================\n\nBug Fixes\n---------\n\n- Fix regression in ``Node.add_marker`` by extracting the mark object of a\n  ``MarkDecorator``. (`3555\n  &lt;https://github.com/pytest-dev/pytest/issues/3555&gt;`_)\n\n- Warnings without ``location`` were reported as ``None``. This is corrected to\n  now report ``&lt;undetermined location&gt;``. (`3563\n  &lt;https://github.com/pytest-dev/pytest/issues/3563&gt;`_)\n\n- Continue to call finalizers in the stack when a finalizer in a former scope\n  raises an exception. (`3569\n  &lt;https://github.com/pytest-dev/pytest/issues/3569&gt;`_)\n\n- Fix encoding error with ``print`` statements in doctests (`3583\n  &lt;https://github.com/pytest-dev/pytest/issues/3583&gt;`_)\n\n\nImproved Documentation\n----------------------\n\n- Add documentation for the ``--strict`` flag. (`3549\n  &lt;https://github.com/pytest-dev/pytest/issues/3549&gt;`_)\n\n\nTrivial/Internal Changes\n------------------------\n\n- Update old quotation style to parens in fixture.rst documentation. (`3525\n  &lt;https://github.com/pytest-dev/pytest/issues/3525&gt;`_)\n\n- Improve display of hint about ``--fulltrace`` with ``KeyboardInterrupt``.\n  (`3545 &lt;https://github.com/pytest-dev/pytest/issues/3545&gt;`_)\n\n- pytest&#39;s testsuite is no longer runnable through ``python setup.py test`` --\n  instead invoke ``pytest`` or ``tox`` directly. (`3552\n  &lt;https://github.com/pytest-dev/pytest/issues/3552&gt;`_)\n\n- Fix typo in documentation (`3567\n  &lt;https://github.com/pytest-dev/pytest/issues/3567&gt;`_)\n   ```\n   \n  \n</details>\n\n\n \n\n<details>\n  <summary>Links</summary>\n  \n  - PyPI: https://pypi.org/project/pytest\n  - Changelog: https://pyup.io/changelogs/pytest/\n  - Homepage: http://pytest.org\n</details>\n\n"},"comment":{"url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/comments/416199415","html_url":"https://github.com/SatelliteQE/robottelo/pull/6231#issuecomment-416199415","issue_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/6231","id":416199415,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjE5OTQxNQ==","user":{"login":"codecov[bot]","id":22429695,"node_id":"MDM6Qm90MjI0Mjk2OTU=","avatar_url":"https://avatars2.githubusercontent.com/in/254?v=4","gravatar_id":"","url":"https://api.github.com/users/codecov%5Bbot%5D","html_url":"https://github.com/apps/codecov","followers_url":"https://api.github.com/users/codecov%5Bbot%5D/followers","following_url":"https://api.github.com/users/codecov%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/codecov%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/codecov%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecov%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/codecov%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/codecov%5Bbot%5D/repos","events_url":"https://api.github.com/users/codecov%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/codecov%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-08-27T11:41:25Z","updated_at":"2018-08-27T11:41:25Z","author_association":"NONE","body":"# [Codecov](https://codecov.io/gh/SatelliteQE/robottelo/pull/6231?src=pr&el=h1) Report\n> Merging [#6231](https://codecov.io/gh/SatelliteQE/robottelo/pull/6231?src=pr&el=desc) into [master](https://codecov.io/gh/SatelliteQE/robottelo/commit/6c3d374397080cc0cd9103c3644457777672b914?src=pr&el=desc) will **increase** coverage by `0.02%`.\n> The diff coverage is `n/a`.\n\n[![Impacted file tree graph](https://codecov.io/gh/SatelliteQE/robottelo/pull/6231/graphs/tree.svg?width=650&token=HSRoNVA96P&height=150&src=pr)](https://codecov.io/gh/SatelliteQE/robottelo/pull/6231?src=pr&el=tree)\n\n```diff\n@@            Coverage Diff             @@\n##           master    #6231      +/-   ##\n==========================================\n+ Coverage   63.35%   63.37%   +0.02%     \n==========================================\n  Files          39       39              \n  Lines        4347     4347              \n==========================================\n+ Hits         2754     2755       +1     \n+ Misses       1593     1592       -1\n```\n\n\n| [Impacted Files](https://codecov.io/gh/SatelliteQE/robottelo/pull/6231?src=pr&el=tree) | Coverage Δ | |\n|---|---|---|\n| [robottelo/decorators/func\\_locker.py](https://codecov.io/gh/SatelliteQE/robottelo/pull/6231/diff?src=pr&el=tree#diff-cm9ib3R0ZWxvL2RlY29yYXRvcnMvZnVuY19sb2NrZXIucHk=) | `91.72% <0%> (+0.75%)` | :arrow_up: |\n\n------\n\n[Continue to review full report at Codecov](https://codecov.io/gh/SatelliteQE/robottelo/pull/6231?src=pr&el=continue).\n> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)\n> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`\n> Powered by [Codecov](https://codecov.io/gh/SatelliteQE/robottelo/pull/6231?src=pr&el=footer). Last update [6c3d374...316367e](https://codecov.io/gh/SatelliteQE/robottelo/pull/6231?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).\n"}}
{"actor":{"display_login":"codecov"}}