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
• 2,411 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
• 2,768 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
• 12,152 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 • 2,528 views