Closed ricardo0115 closed 3 months ago
Added check in test_tpms.py to avoid testing several times the same surface functions.
test_tpms.py
This was produced by the instruction : [func[0] for func in getmembers(microgen.surface_functions, isfunction)]
[func[0] for func in getmembers(microgen.surface_functions, isfunction)]
where every function contained in surface_functions was taken into account, even deprecated ones.
An extra "if" condition has been added to take only snake_case named functions and not deprecated camelCase functions.
As result, +50 useless tests are not executed with this PR
Added check in
test_tpms.py
to avoid testing several times the same surface functions.This was produced by the instruction :
[func[0] for func in getmembers(microgen.surface_functions, isfunction)]
where every function contained in surface_functions was taken into account, even deprecated ones.
An extra "if" condition has been added to take only snake_case named functions and not deprecated camelCase functions.
As result, +50 useless tests are not executed with this PR