Changeset View
Changeset View
Standalone View
Standalone View
swh/storage/tests/test_storage.py
Show First 20 Lines • Show All 182 Lines • ▼ Show 20 Lines | def setUp(self): | ||||
'type': 'git', | 'type': 'git', | ||||
'directory': self.dir['id'], | 'directory': self.dir['id'], | ||||
'metadata': { | 'metadata': { | ||||
'checksums': { | 'checksums': { | ||||
'sha1': 'tarball-sha1', | 'sha1': 'tarball-sha1', | ||||
'sha256': 'tarball-sha256', | 'sha256': 'tarball-sha256', | ||||
}, | }, | ||||
'signed-off-by': 'some-dude', | 'signed-off-by': 'some-dude', | ||||
'extra_git_headers': [ | 'extra_headers': [ | ||||
['gpgsig', b'test123'], | ['gpgsig', b'test123'], | ||||
['mergetags', [b'foo\\bar', b'\x22\xaf\x89\x80\x01\x00']], | ['mergetags', [b'foo\\bar', b'\x22\xaf\x89\x80\x01\x00']], | ||||
], | ], | ||||
}, | }, | ||||
'synthetic': True | 'synthetic': True | ||||
} | } | ||||
self.revision2 = { | self.revision2 = { | ||||
▲ Show 20 Lines • Show All 1,272 Lines • Show Last 20 Lines |