Merge pull request #577 from grooverdan/rel-imports

ENH: fix test case imports to relative
pull/579/head
Steven Hiscocks 11 years ago
commit e73090d040

@ -170,7 +170,7 @@ class TestsUtilsTest(unittest.TestCase):
self.assertTrue(pindex > 10) # we should have some traceback
self.assertEqual(s[:pindex], s[pindex+1:pindex*2 + 1])
from fail2ban.server import iso8601
from ..server import iso8601
import datetime
import time

@ -33,7 +33,7 @@ from ..exceptions import UnknownJailException
from .utils import LogCaptureTestCase
#from bin.fail2ban-client import Fail2banClient
try:
from fail2ban.server import filtersystemd
from ..server import filtersystemd
except ImportError: # pragma: no cover
filtersystemd = None

Loading…
Cancel
Save