summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHasan Ramezani <hasan.r67@gmail.com>2020-01-09 11:10:25 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-01-09 12:20:54 +0100
commiteef3ea847e12f23db9a0af8efdc9543f24b780c4 (patch)
tree4121c0714774e68294babff2231ad8bbb0e98f96 /tests
parentf600e3fad6e92d9fe1ad8b351dc8446415f24345 (diff)
Fixed #31148 -- Added error messages on update()/delete() operations following union(), intersection(), and difference().
Diffstat (limited to 'tests')
-rw-r--r--tests/queries/test_qs_combinators.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/queries/test_qs_combinators.py b/tests/queries/test_qs_combinators.py
index 668d5e6ad6..71309ecf1b 100644
--- a/tests/queries/test_qs_combinators.py
+++ b/tests/queries/test_qs_combinators.py
@@ -272,12 +272,14 @@ class QuerySetSetOperationTests(TestCase):
for operation in (
'annotate',
'defer',
+ 'delete',
'exclude',
'extra',
'filter',
'only',
'prefetch_related',
'select_related',
+ 'update',
):
with self.subTest(combinator=combinator, operation=operation):
with self.assertRaisesMessage(