X-Git-Url: https://git.jsancho.org/?p=datasette-connectors.git;a=blobdiff_plain;f=tests%2Fdummy.py;h=873894fcce6a4e116047ef778d94c0b5b30fa5ab;hp=04c6686ad459a81eba587adbed51c984c526eccb;hb=522f46ef03efd028cb4344a30b0bfb80d00f9643;hpb=58720a43974da688021531ed107dc8693b62ca39 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, }, ]