|
|
@@ -20,9 +20,9 @@ class TestACustomRange(TestCase):
|
|
20
|
20
|
self.rng = custom.create_range(CustomRange)
|
|
21
|
21
|
|
|
22
|
22
|
def test_correctly_includes_match(self):
|
|
23
|
|
- test_product = create_product(title="A tale")
|
|
|
23
|
+ test_product = create_product(title=u"A tale")
|
|
24
|
24
|
self.assertTrue(self.rng.contains_product(test_product))
|
|
25
|
25
|
|
|
26
|
26
|
def test_correctly_excludes_nonmatch(self):
|
|
27
|
|
- test_product = create_product(title="B tale")
|
|
|
27
|
+ test_product = create_product(title=u"B tale")
|
|
28
|
28
|
self.assertFalse(self.rng.contains_product(test_product))
|