From 1158e6cc6026936f78dc08572f8f1566cfaf2d18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=BCleki=20F=C3=A1bi=C3=A1n?= Date: Fri, 8 May 2020 23:00:23 +0200 Subject: [PATCH] added test skeleton --- test_everything.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test_everything.py diff --git a/test_everything.py b/test_everything.py new file mode 100644 index 0000000..64c921c --- /dev/null +++ b/test_everything.py @@ -0,0 +1,12 @@ +from redis_super_storage import RedisSuperStorage +from communicators import ConsumerCommunicator, ProducerCommunicator +from ip_watchdog import IPWatchdog +import pytest +import redis + + +def test_something(mocker): + mocker.patch("redis.from_url") + rst = RedisSuperStorage("test", 2) + + redis.from_url.assert_called_once_with("test")