Example #1
0
 def test_not_sqla_column(self):
     self.assertFalse(is_composite_column(models.B, "__tablename__"))
Example #2
0
 def test_sqla_column(self):
     self.assertFalse(is_composite_column(models.B, "c"))
Example #3
0
 def test_composite_column(self):
     self.assertTrue(is_composite_column(models.B, "composite_column"))