Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to load allure plugin with pytest-3.2.0 #123

Closed
1 of 3 tasks
kevanescence opened this issue Aug 2, 2017 · 1 comment · Fixed by #63, #64, #65, #68 or #71
Closed
1 of 3 tasks

Fail to load allure plugin with pytest-3.2.0 #123

kevanescence opened this issue Aug 2, 2017 · 1 comment · Fixed by #63, #64, #65, #68 or #71
Assignees

Comments

@kevanescence
Copy link

kevanescence commented Aug 2, 2017

I'm submitting a ...

  • bug report
  • feature request
  • support request => Please do not submit support request here, see note at the top of this template.

What is the current behavior?

Hi,

I'm currently using the nose_allure plugin which is, if I understand well, a simple port of pytest allure adaptator.
With pytest-3.1.3 everything works well.

Reproduction steps

virtualenv $HOME/pytest3.2
pip install requests==2.12.1 nose python-dateutil nose-exclude nose-allure-plugin selenium netifaces nose_parameterized

Use the following test file:

from unittest import TestCase
import nose

class DummyTest(TestCase):

    def test_dummy(self):
        self.fail("You do not have the allure plugin issue")

Run the scenario

nosetests -s -v scenario_test.py --with-allure --logdir ~/tmp/ 

$HOME/pytest3.2/local/lib/python2.7/site-packages/nose/plugins/manager.py:395: RuntimeWarning: Unable to load plugin allure = nose_allure:Allure: cannot import name XFailed
  RuntimeWarning)
Usage: nosetests [options]

nosetests: error: no such option: --with-allure

Please tell us about your environment:

python 2.7.6

enum34 (1.1.6)
lxml (3.8.0)
namedlist (1.7)
netifaces (0.10.6)
nose (1.3.7)
nose-allure-plugin (1.0.5)
nose-exclude (0.5.0)
nose-parameterized (0.6.0)
olefile (0.44)
Pillow (4.2.1)
pip (9.0.1)
py (1.4.34)
pytest (3.1.3)
pytest-allure-adaptor (1.7.7)
python-dateutil (2.6.1)
requests (2.12.1)
selenium (3.4.3)
setuptools (18.2)
six (1.10.0)
wheel (0.24.0)

Other information

Regards,

@sseliverstov
Copy link
Contributor

fixed in 1.7.8

@janxen janxen mentioned this issue Mar 26, 2021
2 tasks
@Savior-Wu Savior-Wu mentioned this issue Aug 6, 2021
2 tasks
@skhomuti skhomuti mentioned this issue Jul 29, 2022
2 tasks
@beckerGil beckerGil mentioned this issue Apr 10, 2023
2 tasks
@baev baev mentioned this issue Dec 6, 2023
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment