animals user expansion from BBG user rillaith (#148)
* animals user expansion from BBG user rillaith * Added fan attribute to animals set * animals.png - This is not the best image. But it is the best I could get from the original files. I *think* it is 3 penguins. * updated main.py for fan based expansions This includes two items: 1) adds --fan for specifying fan expansions to include 2) adds wild cards in specifying both --expansion as well as --fan. This also fixes issue #149 * Updated all language files for animals * Normalize all line endings and add gitattributes file to make git do so in the future * print the possible expansions when non-matching ones are provided * Allow for no official expansions to be included Kept the default behavior. Not specifying '--expansions' will have the same outcome as '--expansions *' (i.e., will print all of them.) Specifying '--expansions ' (without any named expansions) or '--expansions none ' will result in no cards from any Official expansion. For Fan expansions, the absence of '--fan', '--fan ' (without any named fan expansion), and '--fan none ' will all prevent any Fan expansions from printing. * Cleaned up expansion/fan lists
This commit is contained in:
1 parent
3578804882
commit
c5c876f8c5
34 files changed
+20747
-20474
No files matched your search
@@ -9,7 +9,7 @@ class TestCardDB(unittest.TestCase):
|
||||
options = main.parse_opts([])
|
||||
options.data_path = '.'
|
||||
cards = main.read_card_data(options)
|
||||
self.assertEquals(len(cards), 445)
|
||||
self.assertEquals(len(cards), 448)
|
||||
valid_cardsets = {
|
||||
u'base',
|
||||
u'dominion1stEdition',
|
||||
@@ -32,7 +32,8 @@ class TestCardDB(unittest.TestCase):
|
||||
u'empires',
|
||||
u'empires extras',
|
||||
u'promo',
|
||||
u'extras'
|
||||
u'extras',
|
||||
u'animals'
|
||||
}
|
||||
for c in cards:
|
||||
self.assertIsInstance(c, domdiv_cards.Card)
|
||||
|
||||
Reference in new issue
Block a user