Closed m1yag1 closed 6 years ago
As indicated to me by a co-worker the error seems to be that the type expected is a list but is actually returning a map. Most likely in this location: https://github.com/allankp/pytest-testrail/blob/2a41191ad4030fa87f36caf8288388525dd333cf/pytest_testrail/plugin.py#L93-L100
Possible fix:
return list(map(int, [re.search('(?P<test_id>[0-9]+$)', test_id).groupdict().get('test_id') for test_id in test_ids]))
@m1yag1 This is fixed in 1.1.6
I've testing this with 1.1.4 and the POST request to TestRail to create the test run works as expected. When I upgrade to 1.1.5 the following error occurs: