Modify ↓
Opened 6 years ago
Closed 6 years ago
#13484 closed defect (cantfix)
Ticket status not changed in Trac 1.2.3
Reported by: | Dirk Stöcker | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | high | Component: | AdvancedTicketWorkflowPlugin |
Severity: | blocker | Keywords: | |
Cc: | Trac Release: | 1.2 |
Description (last modified by )
The following tests fail:
$ python setup.py test running test running egg_info writing requirements to TracAdvancedTicketWorkflow.egg-info/requires.txt writing TracAdvancedTicketWorkflow.egg-info/PKG-INFO writing top-level names to TracAdvancedTicketWorkflow.egg-info/top_level.txt writing dependency_links to TracAdvancedTicketWorkflow.egg-info/dependency_links.txt writing entry points to TracAdvancedTicketWorkflow.egg-info/entry_points.txt writing manifest file 'TracAdvancedTicketWorkflow.egg-info/SOURCES.txt' running build_ext test_reset_milestone (advancedworkflow.tests.controller.AdvancedTicketWorkflowTestCase) ... ok test_set_owner_to_component_owner (advancedworkflow.tests.controller.AdvancedTicketWorkflowTestCase) ... FAIL test_set_owner_to_component_owner_with_missing_component (advancedworkflow.tests.controller.AdvancedTicketWorkflowTestCase) ... FAIL test_set_owner_to_field (advancedworkflow.tests.controller.AdvancedTicketWorkflowTestCase) ... FAIL test_set_owner_to_previous (advancedworkflow.tests.controller.AdvancedTicketWorkflowTestCase) ... FAIL test_set_owner_to_reporter (advancedworkflow.tests.controller.AdvancedTicketWorkflowTestCase) ... FAIL test_set_status_to_previous (advancedworkflow.tests.controller.AdvancedTicketWorkflowTestCase) ... ok ====================================================================== FAIL: test_set_owner_to_component_owner (advancedworkflow.tests.controller.AdvancedTicketWorkflowTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/rjollos/Documents/Workspace/trac-dev/trac-hacks/advancedticketworkflowplugin/1.2/advancedworkflow/tests/controller.py", line 88, in test_set_owner_to_component_owner self.assertEqual('assigned', ticket['status']) AssertionError: 'assigned' != u'new' ====================================================================== FAIL: test_set_owner_to_component_owner_with_missing_component (advancedworkflow.tests.controller.AdvancedTicketWorkflowTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/rjollos/Documents/Workspace/trac-dev/trac-hacks/advancedticketworkflowplugin/1.2/advancedworkflow/tests/controller.py", line 106, in test_set_owner_to_component_owner_with_missing_component self.assertEqual('assigned', ticket['status']) AssertionError: 'assigned' != u'new' ====================================================================== FAIL: test_set_owner_to_field (advancedworkflow.tests.controller.AdvancedTicketWorkflowTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/rjollos/Documents/Workspace/trac-dev/trac-hacks/advancedticketworkflowplugin/1.2/advancedworkflow/tests/controller.py", line 125, in test_set_owner_to_field self.assertEqual('assigned', ticket['status']) AssertionError: 'assigned' != u'new' ====================================================================== FAIL: test_set_owner_to_previous (advancedworkflow.tests.controller.AdvancedTicketWorkflowTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/rjollos/Documents/Workspace/trac-dev/trac-hacks/advancedticketworkflowplugin/1.2/advancedworkflow/tests/controller.py", line 144, in test_set_owner_to_previous self.assertEqual('assigned', ticket['status']) AssertionError: 'assigned' != u'new' ====================================================================== FAIL: test_set_owner_to_reporter (advancedworkflow.tests.controller.AdvancedTicketWorkflowTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/rjollos/Documents/Workspace/trac-dev/trac-hacks/advancedticketworkflowplugin/1.2/advancedworkflow/tests/controller.py", line 69, in test_set_owner_to_reporter self.assertEqual('needinfo', ticket['status']) AssertionError: 'needinfo' != u'new' ---------------------------------------------------------------------- Ran 7 tests in 0.272s FAILED (failures=5) Test failed: <unittest.runner.TextTestResult run=7 errors=0 failures=5> error: Test failed: <unittest.runner.TextTestResult run=7 errors=0 failures=5>
Attachments (0)
Change History (8)
comment:1 Changed 6 years ago by
Description: | modified (diff) |
---|---|
Summary: | Release 1.2.3 brekas advanced ticket workflow plugin → Test failures with release 1.2.3 |
comment:2 Changed 6 years ago by
Owner: | set to Ryan J Ollos |
---|---|
Status: | new → accepted |
comment:3 Changed 6 years ago by
I use 0.12 branch. The 0.12 branch with Trac 1.0.17 has the same issue.
$ ~/venv/trac/1.0.17/bin/python setup.py test running test running egg_info writing AdvancedTicketWorkflowPlugin.egg-info/PKG-INFO writing top-level names to AdvancedTicketWorkflowPlugin.egg-info/top_level.txt writing dependency_links to AdvancedTicketWorkflowPlugin.egg-info/dependency_links.txt writing entry points to AdvancedTicketWorkflowPlugin.egg-info/entry_points.txt reading manifest file 'AdvancedTicketWorkflowPlugin.egg-info/SOURCES.txt' writing manifest file 'AdvancedTicketWorkflowPlugin.egg-info/SOURCES.txt' running build_ext test_reset_milestone (advancedworkflow.tests.controller.AdvancedTicketWorkflowTestCase) ... ok test_set_owner_to_component_owner (advancedworkflow.tests.controller.AdvancedTicketWorkflowTestCase) ... FAIL test_set_owner_to_component_owner_with_missing_component (advancedworkflow.tests.controller.AdvancedTicketWorkflowTestCase) ... FAIL test_set_owner_to_field (advancedworkflow.tests.controller.AdvancedTicketWorkflowTestCase) ... FAIL test_set_owner_to_previous (advancedworkflow.tests.controller.AdvancedTicketWorkflowTestCase) ... FAIL test_set_owner_to_reporter (advancedworkflow.tests.controller.AdvancedTicketWorkflowTestCase) ... FAIL test_set_status_to_previous (advancedworkflow.tests.controller.AdvancedTicketWorkflowTestCase) ... ok ====================================================================== FAIL: test_set_owner_to_component_owner (advancedworkflow.tests.controller.AdvancedTicketWorkflowTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/src/trac-hacks.org/advancedticketworkflowplugin/0.12/advancedworkflow/tests/controller.py", line 88, in test_set_owner_to_component_owner self.assertEqual('assigned', ticket['status']) AssertionError: 'assigned' != u'new' ====================================================================== FAIL: test_set_owner_to_component_owner_with_missing_component (advancedworkflow.tests.controller.AdvancedTicketWorkflowTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/src/trac-hacks.org/advancedticketworkflowplugin/0.12/advancedworkflow/tests/controller.py", line 106, in test_set_owner_to_component_owner_with_missing_component self.assertEqual('assigned', ticket['status']) AssertionError: 'assigned' != u'new' ====================================================================== FAIL: test_set_owner_to_field (advancedworkflow.tests.controller.AdvancedTicketWorkflowTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/src/trac-hacks.org/advancedticketworkflowplugin/0.12/advancedworkflow/tests/controller.py", line 125, in test_set_owner_to_field self.assertEqual('assigned', ticket['status']) AssertionError: 'assigned' != u'new' ====================================================================== FAIL: test_set_owner_to_previous (advancedworkflow.tests.controller.AdvancedTicketWorkflowTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/src/trac-hacks.org/advancedticketworkflowplugin/0.12/advancedworkflow/tests/controller.py", line 144, in test_set_owner_to_previous self.assertEqual('assigned', ticket['status']) AssertionError: 'assigned' != u'new' ====================================================================== FAIL: test_set_owner_to_reporter (advancedworkflow.tests.controller.AdvancedTicketWorkflowTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/src/trac-hacks.org/advancedticketworkflowplugin/0.12/advancedworkflow/tests/controller.py", line 69, in test_set_owner_to_reporter self.assertEqual('needinfo', ticket['status']) AssertionError: 'needinfo' != u'new' ---------------------------------------------------------------------- Ran 7 tests in 0.778s FAILED (failures=5)
comment:4 Changed 6 years ago by
Description: | modified (diff) |
---|---|
Summary: | Test failures with release 1.2.3 → Ticket status not changed in Trac 1.2.3 |
comment:5 Changed 6 years ago by
This will be fixed in trac:#13086 and we'll have to require Trac <= 1.2.2 or >= 1.2.4 for the plugin.
comment:8 Changed 6 years ago by
Resolution: | → cantfix |
---|---|
Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.
Tests fail after trac:r16552.