luma.emulator
luma.emulator copied to clipboard
device.py only has 60% test coverage
https://coveralls.io/builds/14034187/source?filename=luma%2Femulator%2Fdevice.py
This could be tricky to get higher coverage, as the bits that aren't tested are pygame and the asciiart emulators. Other than running them to make sure there are no errors, I'm not sure if there are any asserts that would make sense. Open to suggestions if you've got any ideas?
you can use mock to fake these modules so we at least get the coverage.. (and catch the most obvious mistakes).
Looks like a branch for this ticket was started here: https://github.com/rm-hull/luma.emulator/tree/feature/test_coverage