Not able to execute unittests from pytest terminal

0 votes
Hi All,

I was able to execute the unittests by pytest in either terminal/console. Once I installed allure for generating reports, I am not able to execute the unittests. Please find the error which i am facing during test execution.

TypeError: required field "posonlyargs" missing from arguments

I would appreciate, if you could answer my doubt as soon as possible.

Thanks,

Karthik
Mar 12 in Software Testing by Karthik
• 120 points
336 views
What version of python are you using?

Hi Karthik,

I too faced same issue, I tried deleting allure package from /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages

it worked for me. 

I am not sure how important allure report is for you.

Seems there are some version compatability issues

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Software Testing

+1 vote
1 answer
+1 vote
2 answers

How to read data in Robot framework from excel file.

You can try run "py –m pip ...READ MORE

answered May 19 in Software Testing by anonymous
1,323 views
0 votes
0 answers

How to Communicate OTP from email to intelliJ using cucumber

Hi, I want to communicate OTP from gmail ...READ MORE

Jun 10 in Software Testing by anonymous
• 120 points

edited Jun 10 by Gitika 72 views
+1 vote
1 answer

How to find Predicate String and IOS Class chain through Xpath in Appium IOS Platform. ?

https://github.com/facebookarchive/WebDriverAgent/wiki/Class-Chain- ...READ MORE

answered Dec 2, 2019 in Software Testing by anonymous
1,072 views
0 votes
1 answer

Installing Selenium Webdriver with Python package

Hey Hemant, for installing Selenium Webdriver with ...READ MORE

answered May 8, 2019 in Selenium by Anvi
• 14,110 points
3,117 views
0 votes
2 answers

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,510 points
3,536 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31 in Selenium by Sri
• 2,970 points
4,542 views
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,890 points
2,599 views