Closed oxzi closed 4 years ago
The test suite is likely hopelessly out of date. Because its not difficult to test manually (maybe 5 minutes or less of my time), I run a few prepared maps before each release to check for regressions. Unit testing hasn't been a huge priority because the code base is small and regression testing is quick. I'm not really interested in updating the tests, but patches are welcome.
I see that you are doing something which depends on these tests. If this blocks you and you don't mind, you can submit a patch that will skip the tests that fail. Just add a comment that they are out of date and expected to fail.
Fixed tests
The tests in the
tests/unittests/test_pyscroll.py
file seems to be outdated. Running the tests results in an error.After adding a
_clear_surface
function to theDummyBuffer
, each test case will fail with the following error:Am I holding it wrong or should the tests be updated? Thanks a lot.