Uses wrong layer when using inheritance of test case classes

Issue #5 wontfix
Michael Howitz created an issue

Example:

class A(unitest.TestCase):
    layer = X

class B(A):
    layer = Y

When running the tests of class A, layer Y is used instead of X! (Using inheritance breaks the layer on the base class!)

Comments (3)

  1. Michael Howitz reporter

    pull request #1 contains a test case which demonstrates this problem which should be no longer fail when this issue is resolved. (It was merged to the Branch PR-1 because of the failing test.

  2. Michael Howitz reporter

    Documented this bug as not supported use case in 6c94e08. Pull requests are welcome if someone has the steam to fix this issue.

  3. Log in to comment