From d9734a23502cc5daa2588a260543df43f6511caa Mon Sep 17 00:00:00 2001 From: Jeffrey Rennie Date: Tue, 17 Apr 2018 09:37:20 -0700 Subject: [PATCH] Fix broken datastore test_cursor_paging. When there are only 6 entities being retrieved, and the page size is 5, then the second page will not have a next cursor because all entities have been retrieved. Also, ignore *sponge_log.xml which are test log files. --- .gitignore | 3 ++- datastore/cloud-client/snippets_test.py | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 1e7b16c0e6e..9f00d8d2a80 100644 --- a/.gitignore +++ b/.gitignore @@ -20,4 +20,5 @@ secrets.tar junit.xml credentials.dat .nox -.vscode/ \ No newline at end of file +.vscode/ +*sponge_log.xml \ No newline at end of file diff --git a/datastore/cloud-client/snippets_test.py b/datastore/cloud-client/snippets_test.py index 64f19f6f81a..4b55c6a0669 100644 --- a/datastore/cloud-client/snippets_test.py +++ b/datastore/cloud-client/snippets_test.py @@ -147,7 +147,6 @@ def _(): assert len(page_one) == 5 assert len(page_two) assert cursor_one - assert cursor_two @eventually_consistent.mark def test_property_filter(self, client):