Refs #29155 -- Fixed LookupTests.test_pattern_lookups_with_substr() crash on Oracle.

Test introduced in feb683c4c2 revealed
unexpected behavior on Oracle that allows concatenating NULL with string.
This commit is contained in:
Mariusz Felisiak 2018-03-15 14:54:24 +01:00 committed by Tim Graham
parent 87dc0844a6
commit ba3078c92d
1 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,8 @@ class LookupTests(TestCase):
def setUp(self):
# Create a few Authors.
self.au1 = Author.objects.create(name='Author 1')
self.au2 = Author.objects.create(name='Author 2')
self.au1 = Author.objects.create(name='Author 1', alias='a1')
self.au2 = Author.objects.create(name='Author 2', alias='a2')
# Create a few Articles.
self.a1 = Article.objects.create(
headline='Article 1',