Подтвердить трек 2 реальными сбоями, нагрузкой и отчётом
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@ def main():
|
||||
assert not path.startswith('secrets/') and path != '.env', 'Tracked private state'
|
||||
content = (ROOT / path).read_bytes()
|
||||
assert not any(value and value in content for value in secret_values), 'Local secret leaked in ' + path
|
||||
assert b'-----BEGIN PRIVATE KEY-----' not in content, 'Private key found'
|
||||
assert (b'-----BEGIN ' + b'PRIVATE KEY-----') not in content, 'Private key found in ' + path
|
||||
authors = git(ROOT, 'log', '276dbda..HEAD', '--format=%h|%an|%ae|%cn|%ce').splitlines()
|
||||
for row in authors:
|
||||
assert row.split('|')[1:] == ['Sergey Lyakhonov', 'lyserg119@gmail.com'] * 2, 'Wrong author/committer'
|
||||
|
||||
Reference in New Issue
Block a user