mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-22 02:13:08 +00:00
check-needles: ignore commented lines
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
cb4654e2a2
commit
990f81b229
@ -61,6 +61,9 @@ for testpath in testpaths:
|
||||
with open(testpath, "r") as testfh:
|
||||
testlines = testfh.readlines()
|
||||
for line in testlines:
|
||||
# ignore comments
|
||||
if line.strip().startswith("#"):
|
||||
continue
|
||||
matchfuncs = (
|
||||
"assert_screen",
|
||||
"assert_and_click",
|
||||
|
Loading…
Reference in New Issue
Block a user