Fix a call in a unittest to _make_binary_stream() to call the correct module.
parent
79bf77a185
commit
adaf53c256
|
@ -703,7 +703,7 @@ class GPGTestCase(unittest.TestCase):
|
|||
key = self.generate_key("Barbara Brown", "beta.com")
|
||||
barbara = key.fingerprint
|
||||
data = "Hello, world!"
|
||||
file = gnupg._make_binary_stream(data, self.gpg.encoding)
|
||||
file = util._make_binary_stream(data, self.gpg.encoding)
|
||||
edata = self.gpg.encrypt_file(file, barbara,
|
||||
armor=False, output=encfname)
|
||||
ddata = self.gpg.decrypt_file(efile, passphrase="bbrown",
|
||||
|
|
Loading…
Reference in New Issue