Skip to content

Commit 7bd1d81

Browse files
committed
remove strict case check
1 parent a275a1f commit 7bd1d81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assignments/assignments/final/test-3.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def test(num, cmd):
2727
if any('unexpected trap' in i or 'cpu0: panic' in i for i in lines):
2828
raise Exception()
2929

30-
if any('Enter password:' in i for i in lines) and \
30+
if any('Enter password:'.lower() in i.lower() for i in lines) and \
3131
any('init: starting sh' in i for i in lines):
3232
print('correct password was accepted')
3333
save_results(

0 commit comments

Comments
 (0)