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

View File

@@ -30,9 +30,7 @@ class FolderTestCase(TestCase):
)
def tearDown(self):
self.document.delete()
self.document_type.delete()
self.user.delete()
def test_creation_of_folder(self):
folder = Folder.objects.create(label='test', user=self.user)