X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=tests%2Fdummy.py;h=873894fcce6a4e116047ef778d94c0b5b30fa5ab;hb=903b711588ee83bad47bbd44f83c0092dc0d7a71;hp=04c6686ad459a81eba587adbed51c984c526eccb;hpb=5c00383b9044ca27de9c51a511962ffad65ed5f3;p=datasette-connectors.git diff --git a/tests/dummy.py b/tests/dummy.py index 04c6686..873894f 100644 --- a/tests/dummy.py +++ b/tests/dummy.py @@ -22,19 +22,28 @@ class DummyConnector(dc.Connector): def table_info(self, table_name): return [ { - 'idx': 0, + 'cid': 0, 'name': 'c1', - 'primary_key': False, + 'type': 'integer', + 'notnull': False, + 'default_value': None, + 'is_pk': False, }, { - 'idx': 0, + 'cid': 1, 'name': 'c2', - 'primary_key': False, + 'type': 'integer', + 'notnull': False, + 'default_value': None, + 'is_pk': False, }, { - 'idx': 0, + 'cid': 2, 'name': 'c3', - 'primary_key': False, + 'type': 'integer', + 'notnull': False, + 'default_value': None, + 'is_pk': False, }, ]