mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Remove the test for filter(Pokemon.name > u"Xatu")
__gt__ and friends, you will be missed.
This commit is contained in:
parent
97bf4cfe45
commit
d8840fdf5b
1 changed files with 0 additions and 10 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue