From 2e603937afba8e494136d96656113bf69c7004b4 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Wed, 27 Aug 2014 17:41:53 +0100 Subject: [PATCH] Fix tests for the get_systems change. --- tests/test_bot.py | 2 +- tests/test_map.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_bot.py b/tests/test_bot.py index bf0424b..86f7442 100644 --- a/tests/test_bot.py +++ b/tests/test_bot.py @@ -15,7 +15,7 @@ class DropBotTestCase(TestCase): self.assertEquals(self.bot._system_picker('Jit'), 30000142) self.assertIs(type(self.bot._system_picker('J')), str) self.assertEqual(self.bot._system_picker('J'), 'More than 10 systems match J, please provide a more complete name') - self.assertEqual(self.bot._system_picker('GE-'), 'Did you mean: GGE-5Q, GE-94X, GE-8JV, IGE-NE, IGE-RI?') + self.assertEqual(self.bot._system_picker('GE-'), 'Did you mean: GE-94X, GE-8JV?') self.assertEqual(self.bot._system_picker('asdasd'), 'No systems found matching asdasd') def test_get_evecentral_price(self): diff --git a/tests/test_map.py b/tests/test_map.py index 737c3c7..4d5dcf4 100644 --- a/tests/test_map.py +++ b/tests/test_map.py @@ -21,8 +21,8 @@ class MapTestCase(TestCase): def test_get_systems(self): self.assertEquals(len(self.map.get_systems('Jita')), 1) - self.assertEquals(len(self.map.get_systems('Ji')), 14) - self.assertEquals(len(self.map.get_systems('J')), 576) + self.assertEquals(len(self.map.get_systems('Ji')), 7) + self.assertEquals(len(self.map.get_systems('J')), 162) self.assertEquals(len(self.map.get_systems('123435345345')), 0) self.assertEquals(len(self.map.get_systems('jita')), 1) self.assertEquals(len(self.map.get_systems('JITA')), 1)