You've already forked httpie-cli
mirror of
https://github.com/httpie/cli.git
synced 2026-06-20 11:32:56 +02:00
Fixed length progress bar.
This commit is contained in:
+7
-3
@@ -31,6 +31,7 @@ import shutil
|
||||
try:
|
||||
from urllib.request import urlopen
|
||||
except ImportError:
|
||||
# noinspection PyUnresolvedReferences
|
||||
from urllib2 import urlopen
|
||||
try:
|
||||
from unittest import skipIf, skip
|
||||
@@ -1433,9 +1434,7 @@ class SessionTest(BaseTestCase):
|
||||
self.assertDictEqual(r1.json, r3.json)
|
||||
|
||||
|
||||
class DownloadsTest(BaseTestCase):
|
||||
|
||||
# TODO: Actual download tests
|
||||
class DownloadUtilsTest(BaseTestCase):
|
||||
|
||||
def test_Content_Range_parsing(self):
|
||||
|
||||
@@ -1517,5 +1516,10 @@ class DownloadsTest(BaseTestCase):
|
||||
)
|
||||
|
||||
|
||||
class DownloadTest(BaseTestCase):
|
||||
# TODO: Download tests.
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
||||
Reference in New Issue
Block a user