def test_child_step_subclass( self ): child = TestStep base = pygration.Step dict = {} self.assertTrue( pygration_step_subclass( child ) ) self.assertFalse( pygration_step_subclass( base ) ) self.assertFalse( pygration_step_subclass( dict ) )
def test_step_not_subclass(self): p = pygration.Step self.assertFalse(pygration_step_subclass(p))