seng-2021 / lab-Hemeba47

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

ä did not raise ValueError #1

Closed Hemeba47 closed 3 years ago

Hemeba47 commented 3 years ago

FAILED test_mycrypt.py::test_invalid_char[\xe5\xe4\xf6] - Failed: DID NOT RAISE <class 'ValueError'>

Hemeba47 commented 3 years ago

Fixed with

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