reportportal / agent-python-nosetests

Nose tests for Python
Apache License 2.0
0 stars 10 forks source link

Keyerror 'subTypes' received while integrating tests with agent #18

Open AutomationSpecialist opened 3 years ago

AutomationSpecialist commented 3 years ago

Hi,

I am getting the error
self.issue_types = self.get_issue_types() File ".....\lib\site-packages\nose_reportportal\service.py", line 175, in get_issue_types for item in self.project_settings["subTypes"][item_type]: when I am trying to integrate my python tests with agent-python-nosetests.

This is my rp.ini file [base] rp_uuid = xxxxxxxxxx rp_endpoint = https://xxxxxxxxxx/api/v1 rp_project = LaunchName rp_launch = AnyLaunchName rp_launch_attributes = Nose;Smoke rp_launch_description = SmokeTest

agent-python-nosetests v1.0.0 Report Portal v5

Can you please tell me if I am missing something in rp.ini file which the agent is looking for?

Thanks

iivanou commented 3 years ago

There are no active contributors to this agent right now. You are the first one who noticed that it is not working. You can contribute to the project and fix issues. BTW, cut off api/v1 from the endpoint value.