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, 2020 in Software Testing by Karthik
• 120 points
518 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, 2020 in Software Testing by anonymous
4,097 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, 2020 in Software Testing by anonymous
• 120 points

edited Jun 10, 2020 by Gitika 217 views
0 votes
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,930 points
210 views
0 votes
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
• 120 points
108 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
6,859 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,520 points
5,602 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,100 points
6,193 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
3,843 views