From cd6407a50d375efe190e596cf2d3632d59c02e18 Mon Sep 17 00:00:00 2001 From: Nick Vance Date: Tue, 14 Jun 2016 11:23:32 -0700 Subject: [PATCH 1/2] Remove duplicate Settlers entry As reported here https://github.com/sumpfork/dominiontabs/issues/55 --- card_db/en_us/cards.json | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/card_db/en_us/cards.json b/card_db/en_us/cards.json index b9ead81..84ce861 100644 --- a/card_db/en_us/cards.json +++ b/card_db/en_us/cards.json @@ -3554,17 +3554,6 @@ "Action" ] }, - { - "cardset": "empires", - "cost": "2", - "description": "+1 Card\n +1 Action\nLook through your discard pile. You may reveal a Copper from it and put it into your hand.", - "extra": "You can look through your discard pile even if you know there is no Copper in it.", - "name": "Settlers", - "potcost": 0, - "types":[ - "Action" - ] - }, { "cardset": "empires", "cost": "5", From d3e3c8f25bb3ed56304dbb47dcb16c50c48f3267 Mon Sep 17 00:00:00 2001 From: Sumpfork Date: Tue, 14 Jun 2016 12:38:45 -0700 Subject: [PATCH 2/2] fix card number test for deleting Settlers --- tests/carddb_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/carddb_tests.py b/tests/carddb_tests.py index 1109bbd..460e792 100644 --- a/tests/carddb_tests.py +++ b/tests/carddb_tests.py @@ -9,7 +9,7 @@ class TestCardDB(unittest.TestCase): options, args = domdiv.parse_opts(['commandname']) options.data_path = '.' cards = domdiv.read_write_card_data(options) - self.assertEquals(len(cards), 349) + self.assertEquals(len(cards), 348) print set(c.cardset for c in cards) valid_cardsets = { u'prosperity',