mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-18 02:44:03 -05:00
tests: Show missing descriptions in more helpful format
Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
82fa9b62ff
commit
aa5fcc558b
@ -230,6 +230,9 @@ def main():
|
|||||||
if args.update_tests_db:
|
if args.update_tests_db:
|
||||||
for t in tests:
|
for t in tests:
|
||||||
name = t.__name__.replace('test_', '', 1)
|
name = t.__name__.replace('test_', '', 1)
|
||||||
|
if t.__doc__ is None:
|
||||||
|
print name + " - MISSING DESCRIPTION"
|
||||||
|
else:
|
||||||
print name + " - " + t.__doc__
|
print name + " - " + t.__doc__
|
||||||
if conn:
|
if conn:
|
||||||
sql = 'INSERT OR REPLACE INTO tests(test,description) VALUES (?, ?)'
|
sql = 'INSERT OR REPLACE INTO tests(test,description) VALUES (?, ?)'
|
||||||
|
Loading…
Reference in New Issue
Block a user