This commit is contained in:
Jakub Roztocil 2014-04-25 13:52:43 +02:00
parent 1d987c5b4d
commit 33422312c5

View File

@ -4,7 +4,7 @@ import shutil
from tests import TestEnvironment, mk_config_dir, http, httpbin, HTTP_OK
class BaseSessionTest(object):
class SessionTestBase(object):
def setup_method(self, method):
"""Create and a unique config dir for each test."""
@ -25,7 +25,7 @@ class BaseSessionTest(object):
return TestEnvironment(config_dir=self.config_dir)
class TestSessionFlow(BaseSessionTest):
class TestSessionFlow(SessionTestBase):
"""
These tests, start with an existing session create in setup_method().
@ -97,7 +97,7 @@ class TestSessionFlow(BaseSessionTest):
assert r2.json == r4.json
class TestSession(BaseSessionTest):
class TestSession(SessionTestBase):
"""Stand-alone session tests."""
def test_session_ignored_header_prefixes(self):