| Age | Commit message (Collapse) | Author |
|
Backport of 45814af6197cfd8f4dc72ee43b90ecde305a1d5a from main
|
|
Thanks Mariusz Felisiak for the report.
|
|
|
|
|
|
databases.
|
|
|
|
|
|
|
|
comments and hints.
|
|
|
|
SimpleTestCase.databases makes it possible to determine the set of
databases required to run the discovered tests.
|
|
TransactionTestCase when using --keepdb."
This reverts commits b3b1d3d45fc066367f4fcacf0b06f72fcd00a9c6 and
9fa0d3786febf36c87ef059a39115aa1ce3326e8 due to reverse build failures
for which a solution isn't forthcoming.
|
|
set _next_serialized_rollback.
|
|
using --keepdb.
Data loaded in migrations were restored at the beginning of each
TransactionTestCase and all the tables are truncated at the end of
these test cases. If there was a TransactionTestCase at the end of
the test suite, the migrated data weren't restored in the database
(especially unexpected when using --keepdb). Now data is restored
at the end of each TransactionTestCase.
|
|
tests raises an exception.
|
|
|
|
|
|
|
|
|
|
|
|
MultipleObjectsReturned classes.
|
|
timeline.
|
|
|
|
subTest.
|
|
argparse automatically sets the default value for store_true/false
arguments to its opposite.
|
|
|
|
|
|
|
|
Literals are faster and more idiomatic.
|
|
|
|
Thanks Tim Graham for the review.
|
|
|
|
parallel test runner.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Thanks Carl Meyer, Claude Paroz, and Simon Charette for review.
|
|
|
|
This was overlooked in 81f5d63218851f90bd83c1263d9a427db84d6082.
|
|
This reverts commit 49eee84245b1297a84ad4ddc2251e287ef585ea2 as it caused
a regression with test mirrors.
|
|
Since --parallel is documented not to work on Windows, it's better to
ignore it and run without parallelization than to crash. For example
this could simplify cross-platform test scripts.
|
|
|
|
Sigh.
|
|
This was the original intent.
|