From d3783475b4bd1519bddefd4a3cb18576819dca23 Mon Sep 17 00:00:00 2001 From: Brian Warner <warner@lothar.com> Date: Tue, 2 Dec 2008 18:31:26 -0700 Subject: [PATCH] test_download.py: remove extra base32 import --- src/allmydata/test/test_download.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/allmydata/test/test_download.py b/src/allmydata/test/test_download.py index f406c88a..0cc70887 100644 --- a/src/allmydata/test/test_download.py +++ b/src/allmydata/test/test_download.py @@ -17,7 +17,6 @@ mutable_plaintext = "This is a moderate-sized mutable file.\n" * 10 # into this file. These shares were created by 1.2.0-r3247, a version that's # probably fairly close to 1.3.0 . #--------- BEGIN stored_shares.py -------------- -from allmydata.util import base32 immutable_uri = "URI:CHK:g4i6qkk7mlj4vkl5ncg6dwo73i:qcas2ebousfk3q5rkl2ncayeku52kpyse76v5yeel2t2eaa4f6ha:3:10:310" immutable_shares = { 0: { # client[0] @@ -88,7 +87,6 @@ class DownloadTest(SystemTestMixin, unittest.TestCase): def _created_immutable(ur): # write the generated shares and URI to a file, which can then be # incorporated into this one next time. - f.write('from allmydata.util import base32\n') f.write('immutable_uri = "%s"\n' % ur.uri) f.write('immutable_shares = {\n') si = uri.from_string(ur.uri).get_storage_index() -- 2.45.2