]> git.jsancho.org Git - datasette-pytables.git/blobdiff - tests/test_api.py
Truncate query results according to page_size limit
[datasette-pytables.git] / tests / test_api.py
index 834a65df893e2dff7bf2946991c913ad5cd80b8a..85b4bb1c164cfa94866d45c7553f03f09c91f66c 100644 (file)
@@ -63,6 +63,7 @@ def test_custom_sql(app_client):
         'sql': 'select identity from [/group1/table1]',
         'params': {}
     } == data['query']
+    assert 50 == len(data['rows'])
     assert [
         {'identity': 'This is particle:  0'},
         {'identity': 'This is particle:  1'},