This commit is contained in:
Jakub Roztocil 2016-02-28 19:15:35 +08:00
parent 5898879395
commit 1127557742

View File

@ -180,8 +180,8 @@ class TestSession(SessionTestBase):
# https://github.com/jkbrzt/httpie/issues/412
self.start_session(httpbin)
cwd = os.getcwd()
os.chdir(gettempdir())
try:
os.chdir(gettempdir())
http('--session=test', '--download',
httpbin.url + '/get', env=self.env())
finally: