91
92
TestVerifyFileIntegrity.filenames_in_shafile) + ': OK\n'
92
93
raise cmd_runner.SubcommandNonZeroReturnValue([], 1, stdout, None)
95
104
def test_verify_files(self):
96
105
fixture = self.useFixture(MockCmdRunnerPopenFixture())
97
108
hash_filename = "dummy-file.txt"
98
109
signature_filename = hash_filename + ".asc"
99
110
verify_file_integrity([signature_filename])
102
114
'sha1sum -c %s' % hash_filename],
103
115
fixture.mock.commands_executed)