You've already forked httpie-cli
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user