Skip to content

Commit

Permalink
moigagoo#159 Removed logging from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippMDoerner committed Sep 3, 2022
1 parent 964106a commit 00f2687
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 1 addition & 4 deletions tests/postgres/trawselect.nim
Original file line number Diff line number Diff line change
@@ -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]

Expand All @@ -17,9 +17,6 @@ proc resetDb =
dbConn.exec(sql "CREATE DATABASE $#" % dbDatabase)
close dbConn


addHandler(newConsoleLogger(levelThreshold = lvlDebug))

suite "Testing rawSelect proc":
setup:
resetDb()
Expand Down
4 changes: 1 addition & 3 deletions tests/sqlite/trawselect.nim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import std/[unittest, with, os, sugar, options, logging]
import std/[unittest, with, os, sugar, options]

import norm/[model, sqlite]

Expand All @@ -7,8 +7,6 @@ import ../models

const dbFile = "test.db"

addHandler(newConsoleLogger(levelThreshold = lvlDebug))

suite "Testing rawSelect proc":
setup:
removeFile dbFile
Expand Down

0 comments on commit 00f2687

Please sign in to comment.