Skip to content

parameterized_class does not work with inheritence #173

Description

@tjbrix
@parameterized_class("X", [1,2])
class BaseClass(unittest.TestCase):
     #code

class SubClass(BaseClass):
    def test_func(self):
        print(self.X)

=> Class SubClass has no Attribute X

Ich verwende nose2.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions