seng-2021 / lab-Hemeba47

lab-Hemeba47 created by GitHub Classroom
0 stars 0 forks source link

+ did not raise ValueError #2

Closed Hemeba47 closed 3 years ago

Hemeba47 commented 3 years ago
#FAILED test_mycrypt.py::test_invalid_char[+] - Failed: DID NOT RAISE <class 'ValueError'>
Hemeba47 commented 3 years ago

Fixed with

if ('å' or 'ä' or 'ö') in s: raise ValueError