Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664542 - dev-python/pytest-xprocess-0.12.1-r1 : [TEST] E fixture xprocess not found
Summary: dev-python/pytest-xprocess-0.12.1-r1 : [TEST] E fixture xprocess not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2018-08-25 08:13 UTC by Toralf Förster
Modified: 2018-08-25 17:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.96 KB, text/plain)
2018-08-25 08:13 UTC, Toralf Förster
Details
dev-python:pytest-xprocess-0.12.1-r1:20180825-065852.log (dev-python:pytest-xprocess-0.12.1-r1:20180825-065852.log,13.90 KB, text/plain)
2018-08-25 08:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,151.63 KB, text/plain)
2018-08-25 08:13 UTC, Toralf Förster
Details
environment (environment,110.93 KB, text/plain)
2018-08-25 08:13 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.44 KB, application/x-bzip)
2018-08-25 08:13 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-08-25 08:13:12 UTC
file /var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r1/work/pytest-xprocess-0.12.1/example/test_server.py, line 12
  def test_server(xprocess):
E       fixture 'xprocess' not found
>       available fixtures: LineMatcher, _pytest, anypython, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, cov, doctest_namespace, linecomp, monkeypatch, pytestconfig, record_property, record_xml_attribute, record_xml_property, recwarn, testdir, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.


  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib-hardened_test_20180820-192742

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)




emerge -qpv dev-python/pytest-xprocess
[ebuild  N    ] dev-python/pytest-xprocess-0.12.1-r1  USE="test" PYTHON_TARGETS="python2_7 python3_6 -pypy -pypy3 -python3_4 -python3_5 -python3_7"
Comment 1 Toralf Förster gentoo-dev 2018-08-25 08:13:15 UTC
Created attachment 544968 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-08-25 08:13:18 UTC
Created attachment 544970 [details]
dev-python:pytest-xprocess-0.12.1-r1:20180825-065852.log
Comment 3 Toralf Förster gentoo-dev 2018-08-25 08:13:21 UTC
Created attachment 544972 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-08-25 08:13:24 UTC
Created attachment 544974 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-08-25 08:13:27 UTC
Created attachment 544976 [details]
etc.portage.tbz2
Comment 6 Virgil Dupras (RETIRED) gentoo-dev 2018-08-25 17:35:58 UTC
During development my tests falsely passed because pytest-xprocess was already installed on my machine. But when pytest-xprocess isn't already installed, tests indeed fail. Fix incoming.
Comment 7 Larry the Git Cow gentoo-dev 2018-08-25 17:41:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6303c9426a1ea3745b0e059b5d1f0a0703899ce

commit a6303c9426a1ea3745b0e059b5d1f0a0703899ce
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2018-08-25 17:40:21 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2018-08-25 17:41:02 +0000

    dev-python/pytest-xprocess: fix broken tests
    
    Closes: https://bugs.gentoo.org/664542
    Package-Manager: Portage-2.3.47, Repoman-2.3.10

 dev-python/pytest-xprocess/pytest-xprocess-0.12.1-r1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)