Closed aldesantis closed 5 years ago
Using raise_error without passing an exception class or message is dangerous because it effectively swallows all errors, making the test pass. Instead, we should listen for the specific exception we expect the code to raise.
Using raise_error without passing an exception class or message is dangerous because it effectively swallows all errors, making the test pass. Instead, we should listen for the specific exception we expect the code to raise.