Package trac :: Package ticket :: Package tests :: Module batch :: Class BatchModifyTestCase

Class BatchModifyTestCase

source code

            object --+    
                     |    
unittest.case.TestCase --+
                         |
                        BatchModifyTestCase

Nested Classes

Inherited from unittest.case.TestCase: failureException

Instance Methods
 
setUp(self)
Hook method for setting up the test fixture before exercising it.
source code
 
tearDown(self)
Hook method for deconstructing the test fixture after testing it.
source code
 
assertCommentAdded(self, ticket_id, comment) source code
 
assertFieldValue(self, ticket_id, field, new_value) source code
 
test_require_post_method(self)
Request must use POST method.
source code
 
test_redirect_to_query_href_in_req_args(self) source code
 
test_save_comment(self)
Comments are saved to all selected tickets.
source code
 
test_save_values(self)
Changed values are saved to all tickets.
source code
 
test_list_fields_add(self) source code
 
test_list_fields_addrem(self) source code
 
test_list_fields_rem(self) source code
 
test_list_fields_set(self) source code
 
test_action_with_state_change(self)
Actions can have change status.
source code
 
test_action_with_side_effects(self)
Actions can have operations with side effects.
source code
 
test_timeline_events(self)
Regression test for #11288
source code
 
test_modify_summary_and_description(self)
The ticket summary and description cannot be modified.
source code
 
test_modify_reporter_with_ticket_admin(self)
User with TICKET_ADMIN can batch modify the reporter.
source code
 
test_modify_reporter_without_ticket_admin(self)
User without TICKET_ADMIN cannot batch modify the reporter.
source code
 
test_validate_ticket_comment_size(self)
The [ticket] max_comment_size value is enforced.
source code
 
test_validate_select_fields(self)
The select field values are validated.
source code
 
test_validate_ticket_custom_field_max_size(self)
The [ticket-custom] max_size attribute is enforced.
source code
 
test_validate_time_fields(self)
The time fields are validated.
source code
 
test_ticket_manipulators(self)
The ticket manipulators are called to valid the ticket.
source code
 
test_post_process_request_add_template_data(self)
Template data added by post_process_request.
source code
 
test_actions_added_by_additional_ticket_action_controllers(self)
Actions added by custom ticket action controller.
source code
 
test_post_process_request_error_handling(self)
Exception not raised in post_process_request error handling.
source code

Inherited from unittest.case.TestCase: __call__, __eq__, __hash__, __init__, __ne__, __repr__, __str__, addCleanup, addTypeEqualityFunc, assertAlmostEqual, assertAlmostEquals, assertDictContainsSubset, assertDictEqual, assertEqual, assertEquals, assertFalse, assertGreater, assertGreaterEqual, assertIn, assertIs, assertIsInstance, assertIsNone, assertIsNot, assertIsNotNone, assertItemsEqual, assertLess, assertLessEqual, assertListEqual, assertMultiLineEqual, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertNotIn, assertNotIsInstance, assertNotRegexpMatches, assertRaises, assertRaisesRegexp, assertRegexpMatches, assertSequenceEqual, assertSetEqual, assertTrue, assertTupleEqual, assert_, countTestCases, debug, defaultTestResult, doCleanups, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, shortDescription, skipTest

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Methods
 
setUpClass(cls)
Hook method for setting up class fixture before running tests in the class.
source code
 
tearDownClass(cls)
Hook method for deconstructing the class fixture after running all tests in the class.
source code
Class Variables
  ticket_manipulators = None
hash(x)

Inherited from unittest.case.TestCase: longMessage, maxDiff

Properties

Inherited from object: __class__

Method Details

setUpClass(cls)
Class Method

source code 
Hook method for setting up class fixture before running tests in the class.
Overrides: unittest.case.TestCase.setUpClass
(inherited documentation)

tearDownClass(cls)
Class Method

source code 
Hook method for deconstructing the class fixture after running all tests in the class.
Overrides: unittest.case.TestCase.tearDownClass
(inherited documentation)

setUp(self)

source code 
Hook method for setting up the test fixture before exercising it.
Overrides: unittest.case.TestCase.setUp
(inherited documentation)

tearDown(self)

source code 
Hook method for deconstructing the test fixture after testing it.
Overrides: unittest.case.TestCase.tearDown
(inherited documentation)

test_actions_added_by_additional_ticket_action_controllers(self)

source code 

Actions added by custom ticket action controller.

Regression test for #12938.