Simplify kallithea.tests.vcs by avoiding unnecessary metaprogramming constructs

Issue #309 resolved
Branko Majic created an issue

Current test implementation in kallithea.tests.vcs module uses a number of metaprogramming constructs which possibly introduce more complexity than necessary.

For example, a number of test classes are instantiated by using globals and type construct.

It would be simpler to use plain inheritance instead, if possible - this would still allow for code de-duplication, but would make it clearer without digging into the code on what tests will be run.

Comments (1)

  1. Log in to comment