diff options
| author | Tim Graham <timograham@gmail.com> | 2026-02-09 20:28:05 -0500 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-02-10 16:06:49 -0500 |
| commit | ef46215fdecb755c0b77c47fdb8fec670abb5e8b (patch) | |
| tree | 22e756cd7b23ff5a1ad7bda04bf8145f02c1cebe /tests/transaction_hooks | |
| parent | d007fcf7291cc3c24d4545e23c759bde22b6a8a6 (diff) | |
Added various missing test skips observed on MongoDB.
Diffstat (limited to 'tests/transaction_hooks')
| -rw-r--r-- | tests/transaction_hooks/tests.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/transaction_hooks/tests.py b/tests/transaction_hooks/tests.py index 5390165072..3bf18e73e3 100644 --- a/tests/transaction_hooks/tests.py +++ b/tests/transaction_hooks/tests.py @@ -155,6 +155,7 @@ class TestConnectionOnCommit(TransactionTestCase): self.assertNotified([]) self.assertDone([1]) + @skipUnlessDBFeature("uses_savepoints") def test_discards_hooks_from_rolled_back_savepoint(self): with transaction.atomic(): # one successful savepoint @@ -186,6 +187,7 @@ class TestConnectionOnCommit(TransactionTestCase): self.assertDone([]) + @skipUnlessDBFeature("uses_savepoints") def test_inner_savepoint_rolled_back_with_outer(self): with transaction.atomic(): try: @@ -211,6 +213,7 @@ class TestConnectionOnCommit(TransactionTestCase): self.assertDone([]) + @skipUnlessDBFeature("uses_savepoints") def test_inner_savepoint_does_not_affect_outer(self): with transaction.atomic(): with transaction.atomic(): |
