You've already forked httpie-cli
mirror of
https://github.com/httpie/cli.git
synced 2026-04-24 19:53:55 +02:00
Issue #54 Method suggestion proposal
This commit is contained in:
@@ -144,6 +144,12 @@ class TestHTTPie(BaseTest):
|
||||
self.assertIn('"User-Agent": "HTTPie', response)
|
||||
self.assertIn('"Foo": "bar"', response)
|
||||
|
||||
def test_get_suggestion(self):
|
||||
http('http://httpbin.org/get')
|
||||
|
||||
def test_post_suggestion(self):
|
||||
http('http://httpbin.org/post', 'hello=world')
|
||||
|
||||
|
||||
class TestPrettyFlag(BaseTest):
|
||||
"""Test the --pretty / --ugly flag handling."""
|
||||
|
||||
Reference in New Issue
Block a user