Adding upstream version 18.13.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e833f2baa5
commit
fc6bad5705
76 changed files with 21248 additions and 19605 deletions
|
@ -272,3 +272,8 @@ class TestSchema(unittest.TestCase):
|
|||
str(ctx.exception),
|
||||
"Table z must match the schema's nesting level: 2.",
|
||||
)
|
||||
|
||||
def test_has_column(self):
|
||||
schema = MappingSchema({"x": {"c": "int"}})
|
||||
self.assertTrue(schema.has_column("x", exp.column("c")))
|
||||
self.assertFalse(schema.has_column("x", exp.column("k")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue