Don't leave an empty directory in cwd after running tests
This commit is contained in:
parent
e464592a57
commit
6154cfde62
@ -59,7 +59,9 @@ class SyncCollectionHandlerTest(CollectionTestBase):
|
|||||||
|
|
||||||
class SimpleSessionManagerTest(unittest.TestCase):
|
class SimpleSessionManagerTest(unittest.TestCase):
|
||||||
test_hkey = '1234567890'
|
test_hkey = '1234567890'
|
||||||
test_session = SyncUserSession('testName', 'testPath', None, None)
|
sdir = tempfile.mkdtemp(suffix="_session")
|
||||||
|
os.rmdir(sdir)
|
||||||
|
test_session = SyncUserSession('testName', sdir, None, None)
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.sessionManager = SimpleSessionManager()
|
self.sessionManager = SimpleSessionManager()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user