You've already forked httpie-cli
mirror of
https://github.com/httpie/cli.git
synced 2025-08-10 22:42:05 +02:00
Move example URL in a global variable for tests
This commit is contained in:
@@ -33,6 +33,8 @@ HTTP_OK_COLOR = (
|
||||
'\x1b[39m\x1b[38;5;245m \x1b[39m\x1b[38;5;136mOK'
|
||||
)
|
||||
|
||||
URL_EXAMPLE = 'http://example.org' # Note: URL never fetched
|
||||
|
||||
|
||||
def mk_config_dir() -> Path:
|
||||
dirname = tempfile.mkdtemp(prefix='httpie_config_')
|
||||
|
Reference in New Issue
Block a user