1
0
mirror of https://github.com/httpie/cli.git synced 2025-08-10 22:42:05 +02:00

Ignore --download with --offline

This commit is contained in:
Jakub Roztocil
2020-04-16 11:41:12 +02:00
parent 770976a66e
commit 4351650691
2 changed files with 8 additions and 6 deletions

View File

@@ -187,9 +187,8 @@ def test_offline():
r = http(
'--offline',
'https://this-should.never-resolve/foo',
'param==value'
)
assert 'GET /foo?param=value' in r
assert 'GET /foo' in r
def test_offline_download():
@@ -198,6 +197,5 @@ def test_offline_download():
'--offline',
'--download',
'https://this-should.never-resolve/foo',
'param==value'
)
assert 'GET /foo?param=value' in r
assert 'GET /foo' in r