1
0
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:
Jakub Roztocil
2013-04-12 21:49:27 -03:00
parent fc4f70a900
commit d17e02792b
4 changed files with 30 additions and 15 deletions
+7 -3
View File
@@ -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()