From 5f9fd4e5c51328a7df1c091ae53a754586d25563 Mon Sep 17 00:00:00 2001 From: Jacek Sieka Date: Sat, 10 Sep 2022 07:25:22 +0200 Subject: [PATCH] reduce test dependencies (#34) --- faststreams.nimble | 1 - tests/test_inputs.nim | 1 - tests/test_pipelines.nim | 5 +++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/faststreams.nimble b/faststreams.nimble index a6dbf0d..48a3657 100644 --- a/faststreams.nimble +++ b/faststreams.nimble @@ -9,7 +9,6 @@ skipDirs = @["tests"] requires "nim >= 1.2.0", "stew", - "testutils", "chronos", "unittest2" diff --git a/tests/test_inputs.nim b/tests/test_inputs.nim index a2ae220..da9dbaa 100644 --- a/tests/test_inputs.nim +++ b/tests/test_inputs.nim @@ -2,7 +2,6 @@ import os, unittest2, strutils, random, - testutils, ../faststreams, ../faststreams/textio setCurrentDir getAppDir() diff --git a/tests/test_pipelines.nim b/tests/test_pipelines.nim index 5640616..a5eb882 100644 --- a/tests/test_pipelines.nim +++ b/tests/test_pipelines.nim @@ -1,7 +1,7 @@ {.used.} import - testutils/unittests, + unittest2, # FastStreams modules: ../faststreams/[pipelines, multisync] @@ -13,7 +13,8 @@ when fsAsyncSupport: # FastStreams modules: ../faststreams/[pipelines, multisync], # Testing modules: - ./base64 as fsBase64 + ./base64 as fsBase64, + chronos/unittest2/asynctests include system/timers