Skip to content

Commit

Permalink
Fix nose mistaking ThreadedTestFTPd for a TestCase
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Larralde committed Sep 4, 2017
1 parent e738c3c commit 72a0e6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion testrequirements.txt
@@ -1,7 +1,7 @@
appdirs~=1.4.0
coverage
mock
pyftpdlib~=1.5.2
pyftpdlib==1.5.2
python-coveralls
pytz==2016.7
nose
3 changes: 2 additions & 1 deletion tests/test_ftpfs.py
@@ -1,3 +1,4 @@
# coding: utf-8
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
Expand All @@ -22,7 +23,6 @@

from pyftpdlib.authorizers import DummyAuthorizer
from pyftpdlib.handlers import FTPHandler
from pyftpdlib.test import ThreadedTestFTPd

from fs import errors
from fs.opener import open_fs
Expand Down Expand Up @@ -89,6 +89,7 @@ class TestFTPFS(FSTestCases, unittest.TestCase):

@classmethod
def setUpClass(cls):
from pyftpdlib.test import ThreadedTestFTPd
super(TestFTPFS, cls).setUpClass()

cls._temp_dir = tempfile.mkdtemp('ftpfs2tests')
Expand Down

0 comments on commit 72a0e6e

Please sign in to comment.