mirror of
https://github.com/jazzband/django-categories.git
synced 2026-03-16 22:30:24 +00:00
Updated django-categories to work with Django 1.10
This commit is contained in:
parent
96a0fa037f
commit
b2497df2b0
3 changed files with 7 additions and 6 deletions
|
|
@ -19,7 +19,7 @@ class CategoryImportTest(TestCase):
|
|||
root_cats = ['Category 1', 'Category 2', 'Category 3']
|
||||
testfile = os.path.abspath(os.path.join(os.path.dirname(os.path.dirname(__file__)), 'fixtures', filename))
|
||||
cmd = Command()
|
||||
cmd.execute(testfile)
|
||||
cmd.handle(testfile)
|
||||
roots = Category.tree.root_nodes()
|
||||
|
||||
self.assertEqual(len(roots), 3)
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
django-mptt>=0.8,<0.9
|
||||
django-mptt>=0.8.6,<0.9
|
||||
unicode-slugify==0.1.1
|
||||
|
|
|
|||
9
tox.ini
9
tox.ini
|
|
@ -1,12 +1,13 @@
|
|||
[tox]
|
||||
envlist =
|
||||
py27-lint
|
||||
py27-django{18,19},
|
||||
py34-django{18,19},
|
||||
py35-django{18,19},
|
||||
py27-django{18,19,110},
|
||||
py34-django{18,19,110},
|
||||
py35-django{18,19,110},
|
||||
|
||||
[testenv]
|
||||
deps=
|
||||
django110: Django==1.10.3
|
||||
django19: Django==1.9.2
|
||||
django18: Django==1.8.9
|
||||
coverage==4.0.3
|
||||
|
|
@ -20,4 +21,4 @@ deps=
|
|||
flake8
|
||||
|
||||
commands=
|
||||
flake8 . --ignore=E501 --exclude=categories/south_migrations/
|
||||
flake8 . --ignore=E501 --exclude=categories/south_migrations/,.tox/
|
||||
|
|
|
|||
Loading…
Reference in a new issue