From bf7efc6cc862a6ed6098f537345e31c7b458cdc9 Mon Sep 17 00:00:00 2001 From: Jesse Vickery Date: Mon, 9 Dec 2024 19:05:22 +0000 Subject: [PATCH] fix(tests): ds keys; - Updated ds primary key numbers. --- ckanext/xloader/tests/test_loader.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ckanext/xloader/tests/test_loader.py b/ckanext/xloader/tests/test_loader.py index afb66c36..04537c5c 100644 --- a/ckanext/xloader/tests/test_loader.py +++ b/ckanext/xloader/tests/test_loader.py @@ -895,7 +895,7 @@ def test_load_with_no_strip_white(self, Session): print(records) assert records == [ ( - 4, # ds auto increment + 1, # ds auto increment id / primary key u"101002153891", u"2017-07-06 23:38:43", u"2017-07-21 08:30:00", @@ -927,7 +927,7 @@ def test_load_with_no_strip_white(self, Session): u"Citizens Connect App", ), # noqa ( - 5, # ds auto increment + 2, # ds auto increment id / primary key u"101002153890", u"2017-07-06 23:29:13", u"2017-09-11 08:30:00", @@ -959,7 +959,7 @@ def test_load_with_no_strip_white(self, Session): u"Citizens Connect App", ), # noqa ( - 6, # ds auto increment + 3, # ds auto increment id / primary key u"101002153889", u"2017-07-06 23:24:20", u"2017-09-11 08:30:00", @@ -1657,7 +1657,7 @@ def test_load_with_no_strip_white(self, Session): print(records) assert records == [ ( - 4, # ds auto increment + 1, # ds auto increment id / primary key Decimal("101002153891"), datetime.datetime(2017, 7, 6, 23, 38, 43), datetime.datetime(2017, 7, 21, 8, 30), @@ -1689,7 +1689,7 @@ def test_load_with_no_strip_white(self, Session): u"Citizens Connect App", ), # noqa ( - 5, # ds auto increment + 2, # ds auto increment id / primary key Decimal("101002153890"), datetime.datetime(2017, 7, 6, 23, 29, 13), datetime.datetime(2017, 9, 11, 8, 30), @@ -1721,7 +1721,7 @@ def test_load_with_no_strip_white(self, Session): u"Citizens Connect App", ), # noqa ( - 6, # ds auto increment + 3, # ds auto increment id / primary key Decimal("101002153889"), datetime.datetime(2017, 7, 6, 23, 24, 20), datetime.datetime(2017, 9, 11, 8, 30),