Simplify tests teatDown method.

This commit is contained in:
Roberto Rosario
2015-11-01 02:57:55 -04:00
parent 391298eea1
commit cbc1f12bf6
17 changed files with 0 additions and 40 deletions
-3
View File
@@ -59,9 +59,6 @@ class PermissionTestCase(TestCase):
def tearDown(self):
for document_type in DocumentType.objects.all():
document_type.delete()
self.role.delete()
self.group.delete()
self.user.delete()
def test_check_access_without_permissions(self):
with self.assertRaises(PermissionDenied):