From ef46215fdecb755c0b77c47fdb8fec670abb5e8b Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 9 Feb 2026 20:28:05 -0500 Subject: Added various missing test skips observed on MongoDB. --- tests/test_utils/tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/test_utils/tests.py') diff --git a/tests/test_utils/tests.py b/tests/test_utils/tests.py index 22b509b6b3..ef1d02cf41 100644 --- a/tests/test_utils/tests.py +++ b/tests/test_utils/tests.py @@ -1953,7 +1953,7 @@ class OverrideSettingsTests(SimpleTestCase): self.assertIn(expected_location, finder.locations) -@skipUnlessDBFeature("supports_transactions") +@skipUnlessDBFeature("uses_savepoints") class TestBadSetUpTestData(TestCase): """ An exception in setUpTestData() shouldn't leak a transaction which would @@ -2041,6 +2041,7 @@ class CaptureOnCommitCallbacksTests(TestCase): self.assertEqual(len(callbacks), 1) self.assertNotEqual(callbacks[0], pre_hook) + @skipUnlessDBFeature("uses_savepoints") def test_with_rolled_back_savepoint(self): with self.captureOnCommitCallbacks() as callbacks: try: -- cgit v1.3