X-Git-Url: http://git.veekun.com/zzz-pokedex.git/blobdiff_plain/7f96517619e0afd661bd211c6912e6b3cc4ac9f7..1bbf8a18cdb406ffe6c735e15a0cc9159d085c78:/pokedex/tests/test_strings.py diff --git a/pokedex/tests/test_strings.py b/pokedex/tests/test_strings.py index 0955ded..8d0fa06 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") @@ -88,15 +78,6 @@ class TestStrings(object): item.name_map[language] = u"xyzzy" assert item.name_map[language] == "xyzzy" - @raises(AssertionError) - def test_delstring(self): - item = self.connection.query(tables.Item).filter_by( - identifier=u"jade-orb").one() - language = self.connection.query(tables.Language).filter_by( - identifier=u"en").one() - del item.name_map[language] - self.connection.commit() - def test_markdown(self): move = self.connection.query(tables.Move).filter_by( identifier=u"thunderbolt").one()