mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Fix unit tests.
This commit is contained in:
@@ -3,8 +3,6 @@
|
||||
import os
|
||||
import tempfile
|
||||
|
||||
from django.test import TestCase
|
||||
|
||||
from .sysutils import exec_cmd
|
||||
|
||||
|
||||
@@ -43,12 +41,14 @@ class TestRunnerMixin(object):
|
||||
self.assertEqual(code, 0)
|
||||
|
||||
|
||||
class MapFilesTestCase(TestCase):
|
||||
class MapFilesTestCaseMixin(object):
|
||||
|
||||
"""A generic test case to check map files generation."""
|
||||
|
||||
MAP_FILES = None
|
||||
|
||||
extension = None
|
||||
|
||||
def setUp(self):
|
||||
self.workdir = tempfile.mkdtemp()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user