Skip to content

Layered test checker doesn't diagnose three-layer cakes #48

Open
@nedbat

Description

@nedbat

This code runs two tests in nose and pytest:

# Three-layer cake.

class BaseTest(unittest.TestCase):
    __test__ = False
    def test_it(self):
        self.fail("Hello, world!")

class Middle(BaseTest):
    __test__ = True

class MoreTests(Middle):
    __test__ = True

but the layered test checker doesn't detect it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions