From 19393f00ed5ec889a69e3bcf8be57560cedd410c Mon Sep 17 00:00:00 2001 From: Ben Date: Thu, 15 Aug 2024 15:26:36 +0200 Subject: [PATCH] wip: restoring tests --- tests/codex/stores/testrepostore.nim | 4 ++-- tests/helpers.nim | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/codex/stores/testrepostore.nim b/tests/codex/stores/testrepostore.nim index ecb3b75e..235a700b 100644 --- a/tests/codex/stores/testrepostore.nim +++ b/tests/codex/stores/testrepostore.nim @@ -375,10 +375,10 @@ proc before() {.async.} = createDir(path) proc after() {.async.} = - removeDir(path) + os.removeDir(path) let - depth = path.split(DirSep).len + depth = path.split(os.DirSep).len commonBlockStoreTests( "RepoStore FS backend", proc: BlockStore = diff --git a/tests/helpers.nim b/tests/helpers.nim index a6a6ff44..f3cc2d89 100644 --- a/tests/helpers.nim +++ b/tests/helpers.nim @@ -1,5 +1,6 @@ import helpers/multisetup import helpers/trackers import helpers/templeveldb +import pkg/codex/utils -export multisetup, trackers, templeveldb +export multisetup, trackers, templeveldb, utils