Opened 4 years ago

Last modified 4 years ago

#13484 closed defect

Test failures with release 1.2.3 — at Version 1

Reported by: Dirk Stöcker Owned by:
Priority: high Component: AdvancedTicketWorkflowPlugin
Severity: blocker Keywords:
Cc: Trac Release: 1.2

Description (last modified by Ryan J Ollos)

$ 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>

Change History (1)

comment:1 Changed 4 years ago by Ryan J Ollos

Description: modified (diff)
Summary: Release 1.2.3 brekas advanced ticket workflow pluginTest failures with release 1.2.3
Note: See TracTickets for help on using tickets.