diff --git a/filer/tests/admin.py b/filer/tests/admin.py index 06fc0f5b8..12cca9125 100644 --- a/filer/tests/admin.py +++ b/filer/tests/admin.py @@ -18,9 +18,7 @@ from filer.models.filemodels import File from filer.models.foldermodels import Folder, FolderPermission from filer.models.imagemodels import Image -from filer.models.clipboardmodels import Clipboard from filer.models.virtualitems import FolderRoot -from filer.models import tools from filer.admin.folderadmin import FolderAdmin from filer.tests.helpers import (create_superuser, create_folder_structure, create_image, SettingsOverride) @@ -74,12 +72,12 @@ def test_filer_remember_last_opened_directory(self): self.assertTrue(isinstance(get_last_folder().context['folder'], FolderRoot)) def test_filer_directory_listing_root_empty_get(self): - response = self.client.post(reverse('admin:filer-directory_listing-root')) + response = self.client.get(reverse('admin:filer-directory_listing-root')) self.assertEqual(response.status_code, 200) def test_filer_directory_listing_root_get(self): create_folder_structure(depth=3, sibling=2, parent=None) - response = self.client.post(reverse('admin:filer-directory_listing-root')) + response = self.client.get(reverse('admin:filer-directory_listing-root')) self.assertEqual(response.status_code, 200) self.assertEqual(response.context['folder'].children.count(), 6) diff --git a/tox.ini b/tox.ini index c4c40f828..b39be9876 100644 --- a/tox.ini +++ b/tox.ini @@ -50,7 +50,6 @@ deps = django16: -rtest_requirements/django-1.6.txt django17: -rtest_requirements/django-1.7.txt django18: -rtest_requirements/django-1.8.txt - ; Note: Django 1.9+ is not supported yet django19: -rtest_requirements/django-1.9.txt django_master: -rtest_requirements/django-master.txt py26: unittest2