Add more python versions, fix tests

pull/2/head
Raphaël Vinot 2016-07-26 10:32:46 +02:00
parent 0a14e83f49
commit f3c76e3b3b
2 changed files with 3 additions and 1 deletions

View File

@ -3,9 +3,11 @@ language: python
cache: pip cache: pip
python: python:
- "2.7"
- "3.3" - "3.3"
- "3.4" - "3.4"
- "3.5" - "3.5"
- "3.5-dev"
- "nightly" - "nightly"
install: install:

View File

@ -14,7 +14,7 @@ class TestPyTaxonomies(unittest.TestCase):
print(self.taxonomies) print(self.taxonomies)
def test_expanded_print(self): def test_expanded_print(self):
for name in self.taxonomies.taxonomies_names: for name in self.taxonomies.keys():
tax = self.taxonomies.get(name) tax = self.taxonomies.get(name)
print(tax.print_expanded_entries()) print(tax.print_expanded_entries())