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 # https://github.com/jkbrzt/httpie/issues/412
self.start_session(httpbin) self.start_session(httpbin)
cwd = os.getcwd() cwd = os.getcwd()
try:
os.chdir(gettempdir()) os.chdir(gettempdir())
try:
http('--session=test', '--download', http('--session=test', '--download',
httpbin.url + '/get', env=self.env()) httpbin.url + '/get', env=self.env())
finally: finally: