Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename the unittest test_suite function to not clash with a test module name ↵ | Michael Foord | 2010-03-27 | 1 | -1/+1 |
| | | | | (unittest.test.test_suite is now unambiguous). | ||||
* | reorder imports | Benjamin Peterson | 2010-03-26 | 1 | -1/+2 |
| | |||||
* | Turn unittest tests into a package | Michael Foord | 2010-03-25 | 1 | -4420/+4 |
| | |||||
* | Fix test_unittest and test_warnings when running "python -Werror -m ↵ | Florent Xicluna | 2010-03-25 | 1 | -11/+6 |
| | | | | test.regrtest" | ||||
* | expected failure should not trigger failfast behavior in unittest. | Michael Foord | 2010-03-22 | 1 | -6/+0 |
| | |||||
* | Removing Python 2.3 compatibility code from unittest. | Michael Foord | 2010-03-22 | 1 | -1/+3 |
| | |||||
* | Fix failing test committed by accident. | Michael Foord | 2010-03-22 | 1 | -1/+1 |
| | |||||
* | -f/--failfast command line option for unittest. Issue 8074. Documentation ↵ | Michael Foord | 2010-03-22 | 1 | -20/+54 |
| | | | | still needed. Plus minor change to test_unittest to allow it to be run with python -m test.unittest | ||||
* | Issue 7815. __unittest in module globals trims frames from reported ↵ | Michael Foord | 2010-03-22 | 1 | -0/+10 |
| | | | | stacktraces in unittest. | ||||
* | A faulty load_tests in a test module no longer halts test discovery. A ↵ | Michael Foord | 2010-03-21 | 1 | -0/+15 |
| | | | | placeholder test, that reports the failure, is created instead. | ||||
* | Issue 7832: renaming unittest.TestCase.assertSameElements to ↵ | Michael Foord | 2010-03-20 | 1 | -20/+51 |
| | | | | assertItemsEqual and changing behaviour | ||||
* | Addition of setUpClass and setUpModule shared fixtures to unittest. | Michael Foord | 2010-03-07 | 1 | -1/+395 |
| | |||||
* | Fix for potentials errors in constructing unittest failure messages. Plus ↵ | Michael Foord | 2010-03-07 | 1 | -0/+47 |
| | | | | skipped test methods no longer run setUp and tearDown (Issue 8059) | ||||
* | unittest.TestResult can now be used with the TextTestRunner. TextTestRunner ↵ | Michael Foord | 2010-02-23 | 1 | -1/+18 |
| | | | | compatible with old TestResult objects. | ||||
* | Issue 6292: for the moment at least, the test suite passes if run | R. David Murray | 2010-02-23 | 1 | -0/+8 |
| | | | | | | with -OO. Tests requiring docstrings are skipped. Patch by Brian Curtin, thanks to Matias Torchinsky for helping review and improve the patch. | ||||
* | Support for old TestResult object (unittest) with warnings when using ↵ | Michael Foord | 2010-02-22 | 1 | -1/+49 |
| | | | | unsupported features. | ||||
* | Silence UnicodeWarning in crazy unittest test. | Michael Foord | 2010-02-21 | 1 | -4/+7 |
| | |||||
* | Fix unittest.TestCase.assertDictContainsSubset so it can't die with unicode ↵ | Michael Foord | 2010-02-18 | 1 | -6/+3 |
| | | | | issues when constructing failure messages. Issue 7956 | ||||
* | unittest.TestCase uses safe_repr for producing failure messages. Partial fix ↵ | Michael Foord | 2010-02-18 | 1 | -12/+20 |
| | | | | for issue 7956 | ||||
* | Fix for unittest tests, to be merged to py3k | Michael Foord | 2010-02-10 | 1 | -3/+3 |
| | |||||
* | Issue 7893 and Issue 7588 | Michael Foord | 2010-02-10 | 1 | -10/+45 |
| | |||||
* | Make assertMultiLineEqual the default for comparing unicode strings. | Michael Foord | 2010-02-08 | 1 | -2/+3 |
| | |||||
* | assertRaises as context manager now allows you to access exception as documented | Michael Foord | 2010-02-07 | 1 | -2/+7 |
| | |||||
* | Rename "exc_value" attribute on assertRaises context manager to "exception". | Georg Brandl | 2010-02-07 | 1 | -9/+1 |
| | |||||
* | unittest.TestLoader creates a TestSuite before calling load_tests. Issue 7799. | Michael Foord | 2010-02-06 | 1 | -0/+2 |
| | |||||
* | Silence a couple of -3 warnings | Ezio Melotti | 2010-02-02 | 1 | -2/+5 |
| | |||||
* | use assert[Not]IsInstance where appropriate | Ezio Melotti | 2010-01-24 | 1 | -26/+26 |
| | |||||
* | use assert[Not]In where appropriate | Ezio Melotti | 2010-01-23 | 1 | -4/+4 |
| | |||||
* | Reverting the Revision: 77368. I committed Flox's big patch for tests by | Senthil Kumaran | 2010-01-08 | 1 | -5/+2 |
| | | | | mistake. ( It may come in for sure tough) | ||||
* | Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵ | Senthil Kumaran | 2010-01-08 | 1 | -2/+5 |
| | | | | Patch by flox | ||||
* | Issue #7197: Allow unittest.TextTestRunner objects to be pickled and | Antoine Pitrou | 2009-11-10 | 1 | -1/+15 |
| | | | | | | | unpickled. This fixes crashes under Windows when trying to run test_multiprocessing in verbose mode. Additionally, Test_TextTestRunner hadn't been enabled in test_unittest. | ||||
* | Check and revert expected sys.path alterations | Nick Coghlan | 2009-10-17 | 1 | -5/+9 |
| | |||||
* | #7031: Add TestCase.assertIsInstance and negated method. | Georg Brandl | 2009-10-01 | 1 | -0/+12 |
| | |||||
* | Test discovery in unittest will only attempt to import modules that are ↵ | Michael Foord | 2009-09-13 | 1 | -29/+33 |
| | | | | importable; i.e. their names are valid Python identifiers. If an import fails during discovery this will be recorded as an error and test discovery will continue. Issue 6568. | ||||
* | unittest.TestLoader.loadTestsFromName honors the loader suiteClass ↵ | Michael Foord | 2009-09-13 | 1 | -0/+41 |
| | | | | attribute. Issue 6866. | ||||
* | Objects that compare equal automatically pass or fail assertAlmostEqual and ↵ | Michael Foord | 2009-09-13 | 1 | -0/+5 |
| | | | | assertNotAlmostEqual tests on unittest.TestCase. Issue 6567. | ||||
* | issue 6275 | Kristján Valur Jónsson | 2009-08-27 | 1 | -0/+15 |
| | | | | Add an "exc_value" attribute to the _AssertRaisesContext context manager in the unittest package. This allows further tests on the exception that was raised after the context manager exits. | ||||
* | split unittest.py into a package | Benjamin Peterson | 2009-07-19 | 1 | -2/+4 |
| | |||||
* | Move TestRunner initialisation into unittest.TestProgram.runTests. Fixes ↵ | Michael Foord | 2009-07-14 | 1 | -9/+0 |
| | | | | issue 6418. | ||||
* | use assert* methods in test_unittest | Benjamin Peterson | 2009-06-30 | 1 | -53/+53 |
| | |||||
* | Fix unittest discovery tests for Windows. Issue 6199 | Michael Foord | 2009-06-05 | 1 | -1/+3 |
| | |||||
* | Restore default testRunner argument in unittest.main to None. Issue 6177 | Michael Foord | 2009-06-02 | 1 | -0/+8 |
| | |||||
* | Add test discovery to unittest. Issue 6001. | Michael Foord | 2009-05-29 | 1 | -1/+296 |
| | |||||
* | make class skipping decorators the same as skipping every test of the class | Benjamin Peterson | 2009-05-25 | 1 | -8/+9 |
| | | | | This removes ClassTestSuite and a good bit of hacks. | ||||
* | Rename TestCase._result to _resultForDoCleanups to avoid potential clashes ↵ | Michael Foord | 2009-05-21 | 1 | -1/+1 |
| | | | | in TestCase subclasses. Issue 6072. | ||||
* | Adds a verbosity keyword argument to unittest.main plus a minor fix allowing ↵ | Michael Foord | 2009-05-11 | 1 | -10/+13 |
| | | | | | | | | | | you to specify test modules / classes from the command line. Closes issue 5995. Michael Foord | ||||
* | (no commit message) | Michael Foord | 2009-05-02 | 1 | -37/+197 |
| | |||||
* | Add addCleanup and doCleanups to unittest.TestCase. | Michael Foord | 2009-05-02 | 1 | -2/+106 |
| | | | | | | Closes issue 5679. Michael Foord | ||||
* | don't let sys.argv be used in the tests | Benjamin Peterson | 2009-05-02 | 1 | -2/+5 |
| | |||||
* | Adds an exit parameter to unittest.main(). If False main no longer | Michael Foord | 2009-05-02 | 1 | -2/+71 |
| | | | | | | | | calls sys.exit. Closes issue 3379. Michael Foord |