Not able to execute unittests from pytest terminal

+1 vote
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 13, 2020 in Software Testing by Karthik
• 130 points
1,106 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

+2 votes
1 answer

Even after providing proper xpath for element on mobile applcation,it is not able to click on the button??

You could probably try using WebDriver driver; ...READ MORE

answered May 8, 2020 in Software Testing by Kim
1,258 views
+2 votes
2 answers

How to read data in Robot framework from excel file.

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

answered May 19, 2020 in Software Testing by anonymous
8,137 views
+1 vote
0 answers

How to Communicate OTP from email to intelliJ using cucumber

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

Jun 10, 2020 in Software Testing by anonymous
• 130 points

edited Jun 10, 2020 by Gitika 694 views
+1 vote
1 answer

Data driven test through Ms Excel is not entering the values properly in to the app only 1 is entering

Hi, @Faha, Chromedriver version should be shown in ...READ MORE

answered Oct 28, 2020 in Software Testing by Gitika
• 65,910 points
1,476 views
+1 vote
0 answers

How to run scripts from two different frameworks

Hi, I have a project I am working ...READ MORE

Dec 23, 2020 in Software Testing by Maryna
• 130 points
530 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,150 points
15,140 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,500 points
12,619 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

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

answered Aug 31, 2020 in Selenium by Sri
• 3,190 points
8,572 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,910 points
6,629 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP