From 00f2687b4692d41581d5899a5dd1b70c5e0c24af Mon Sep 17 00:00:00 2001 From: Philipp Doerner Date: Sat, 3 Sep 2022 09:25:48 +0200 Subject: [PATCH] #159 Removed logging from tests --- tests/postgres/trawselect.nim | 5 +---- tests/sqlite/trawselect.nim | 4 +--- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/tests/postgres/trawselect.nim b/tests/postgres/trawselect.nim index a9fe9043..300a7c01 100644 --- a/tests/postgres/trawselect.nim +++ b/tests/postgres/trawselect.nim @@ -1,4 +1,4 @@ -import std/[unittest, with, os, sugar, options, logging, strutils] +import std/[unittest, with, os, sugar, options, strutils] import norm/[model, postgres] @@ -17,9 +17,6 @@ proc resetDb = dbConn.exec(sql "CREATE DATABASE $#" % dbDatabase) close dbConn - -addHandler(newConsoleLogger(levelThreshold = lvlDebug)) - suite "Testing rawSelect proc": setup: resetDb() diff --git a/tests/sqlite/trawselect.nim b/tests/sqlite/trawselect.nim index 8d553bd7..2198d992 100644 --- a/tests/sqlite/trawselect.nim +++ b/tests/sqlite/trawselect.nim @@ -1,4 +1,4 @@ -import std/[unittest, with, os, sugar, options, logging] +import std/[unittest, with, os, sugar, options] import norm/[model, sqlite] @@ -7,8 +7,6 @@ import ../models const dbFile = "test.db" -addHandler(newConsoleLogger(levelThreshold = lvlDebug)) - suite "Testing rawSelect proc": setup: removeFile dbFile