Mercurial > hg
comparison tests/test-largefiles-wireproto.t @ 33963:9a0f33f497cd
tests: update test-largefiles-wireproto to pass our import checker
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Tue, 22 Aug 2017 16:58:07 -0400 |
parents | 72f051f9a7d8 |
children | eb586ed5d8ce |
comparison
equal
deleted
inserted
replaced
33962:991134261057 | 33963:9a0f33f497cd |
---|---|
224 adding manifests | 224 adding manifests |
225 adding file changes | 225 adding file changes |
226 added 1 changesets with 1 changes to 1 files | 226 added 1 changesets with 1 changes to 1 files |
227 | 227 |
228 Archive contains largefiles | 228 Archive contains largefiles |
229 >>> import urllib2, os | 229 >>> import os |
230 >>> import urllib2 | |
230 >>> u = 'http://localhost:%s/archive/default.zip' % os.environ['HGPORT2'] | 231 >>> u = 'http://localhost:%s/archive/default.zip' % os.environ['HGPORT2'] |
231 >>> with open('archive.zip', 'w') as f: | 232 >>> with open('archive.zip', 'w') as f: |
232 ... f.write(urllib2.urlopen(u).read()) | 233 ... f.write(urllib2.urlopen(u).read()) |
233 $ unzip -t archive.zip | 234 $ unzip -t archive.zip |
234 Archive: archive.zip | 235 Archive: archive.zip |