From: Petr Viktorin Date: Tue, 29 Mar 2011 18:01:57 +0000 (+0300) Subject: Remove the test for filter(Pokemon.name > u"Xatu") X-Git-Tag: veekun-promotions/2011041101~17^2~7 X-Git-Url: http://git.veekun.com/zzz-pokedex.git/commitdiff_plain/cdf8761bc6f07dfd039e278f9c6d7c2c86c7b50f Remove the test for filter(Pokemon.name > u"Xatu") __gt__ and friends, you will be missed. --- diff --git a/pokedex/tests/test_strings.py b/pokedex/tests/test_strings.py index 0955ded..fe567c1 100644 --- a/pokedex/tests/test_strings.py +++ b/pokedex/tests/test_strings.py @@ -16,16 +16,6 @@ class TestStrings(object): tables.Pokemon.name == u"Marowak") assert q.one().identifier == 'marowak' - def test_gt(self): - # Assuming that the identifiers are just lowercase names - q1 = self.connection.query(tables.Pokemon).filter( - tables.Pokemon.name > u"Xatu").order_by( - tables.Pokemon.id) - q2 = self.connection.query(tables.Pokemon).filter( - tables.Pokemon.identifier > u"xatu").order_by( - tables.Pokemon.id) - assert q1.all() == q2.all() - def test_languages(self): q = self.connection.query(tables.Pokemon).filter( tables.Pokemon.name == u"Mightyena")