mirror of
https://github.com/httpie/cli.git
synced 2025-06-25 03:51:31 +02:00
Cleanup
This commit is contained in:
parent
1d987c5b4d
commit
33422312c5
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user