Refs -- Fixed LookupTests.test_pattern_lookups_with_substr() crash on Oracle.
Test introduced in revealed
unexpected behavior on Oracle that allows concatenating NULL with string.
@@ -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',
