Total number of run test cases is calculated incorrectly
Bug #1203728 reported by
Roman Podoliaka
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testtools |
Fix Released
|
Critical
|
Robert Collins |
Bug Description
Affected versions: 0.0.16 and 0.0.17
Consider the following test suite:
import unittest
class Test(unittest.
def test_case1(self):
def test_case2(self):
.testr.conf:
[DEFAULT]
test_command=python -m subunit.run discover . $LISTOPT $IDOPTION
test_id_
test_list_
Running of "testr run" shows:
(venv)rpodolyak
running=python -m subunit.run discover .
Ran 4 (+2) tests in 0.000s (-0.000s)
PASSED (id=143)
So the number of run test cases is doubled to the actual number of test cases.
--parallel and --concurrency X have no effect on this.
no longer affects: | keystone |
Changed in testtools: | |
status: | Triaged → Fix Released |
milestone: | none → next |
assignee: | nobody → Robert Collins (lifeless) |
To post a comment you must log in.
Thanks, will get onto this soon.