mirror of
https://github.com/jazzband/django-categories.git
synced 2026-03-16 22:30:24 +00:00
Need to delete all the objects before each test because the import checks its work.
This commit is contained in:
parent
31f1bfef8d
commit
2bfe753428
1 changed files with 2 additions and 0 deletions
|
|
@ -29,10 +29,12 @@ class CategoryImportTest(unittest.TestCase):
|
|||
|
||||
|
||||
def testImportSpaceDelimited(self):
|
||||
Category.objects.all().delete()
|
||||
self._import_file('test_category_spaces.txt')
|
||||
|
||||
|
||||
def testImportTabDelimited(self):
|
||||
Category.objects.all().delete()
|
||||
self._import_file('test_category_tabs.txt')
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue