Changes between Version 7 and Version 9 of Ticket #11284
- Timestamp:
- Sep 19, 2013, 11:35:57 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11284
- Property Owner set to
-
Ticket #11284 – Release Notes
v7 v9 1 Replaced deprecated unit test method aliases, and refactored tests to utilize new methods in `trac.tests.compat`.1 Replaced deprecated unit test method aliases, and refactored unit tests to utilize new methods in `trac.tests.compat`. -
Ticket #11284 – API Changes
v7 v9 1 The `trac.tests.compat` contains `unittest.TestCase` methods that are available in Python 2.7, such as `assertIn` and `assertIs`.1 The `trac.tests.compat` module adds methods to `unittest.TestCase` that are available in Python 2.7, such as `assertIn` and `assertIs`. To make the methods available in a test suite module, add `from trac.tests import compat`.