11. Test your rule
Click the Run all button to test your rule. Select between No error and Has error radio buttons on the test to try different outputs.
When your test case expect an error our custom rule engine will show a code annotation with potential fixes.
To apply a fix hover the code annotation and click on the βApply fixβ button.
Oops!
You must run the tests.
my-new-rule
test_code.py
assert foo
code.py
assert foo