From b3c7499f5b0a8bafb8f0450507eee73c64140912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <henrik@trineo.org> Date: Wed, 15 Jul 2020 09:25:46 +0200 Subject: [PATCH] FIX: specify datatypes correctly --- unittests/test_cfood.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/unittests/test_cfood.py b/unittests/test_cfood.py index 802497a8..8b75b82f 100644 --- a/unittests/test_cfood.py +++ b/unittests/test_cfood.py @@ -140,9 +140,9 @@ class InsertionTest(unittest.TestCase): int_name = "Test int" types_and_values = { int_name: ("INT", 5), - "Test float": ("FLOAT", 3.14), - "Test bool": ("BOOLEAN", True), - "Test string": ("STRING", "bla") + "Test float": (db.DOUBLE, 3.14), + "Test bool": (db.BOOLEAN, True), + "Test string": (db.TEXT, "bla") } for name, ty_val in types_and_values.items(): -- GitLab