Commit Graph

1 Commits

Author SHA1 Message Date
Dan Smith
06176e6202 Massive driver test refactor
This has been a long time coming. Our tests have always been a bit
weird because when we added them, there weren't great ways of loading
dynamic test classes with the runners at the time. That is now much
better. With everyone running tests via tox and the unittest framework,
we can move our tests out of the adapter and into proper test cases.
We still need the custom loader to generate classes based on test
images, but it's majorly simpler and uses the hooks available.

With this, each test case is broken into proper scenarios so that
each can be run (and fail) independently. We also don't need all the
wrapper and logging stuff, which means exceptions are reported where
they actually happen, and as such, debugging what is failing should
be much easier.

The content is mostly the same, although the detect test is tightend
a bit, just because it needed rewriting anyway. That uncovered the
bug in the test images fixed a few patches ago.
2023-01-12 15:31:20 -08:00