def test_not_sqla_column(self): self.assertFalse(is_composite_column(models.B, "__tablename__"))
def test_sqla_column(self): self.assertFalse(is_composite_column(models.B, "c"))
def test_composite_column(self): self.assertTrue(is_composite_column(models.B, "composite_column"))