diff --git a/config.json.sample b/config.json.sample index e404d961..2722b9b9 100644 --- a/config.json.sample +++ b/config.json.sample @@ -71,7 +71,7 @@ "sellsmartswitch": 0, "trailingbuypcnt": 0.5, "telegramtradesonly": 0, - "granularity": "3600", + "granularity": "3600" } }, "coinbasepro": { @@ -108,7 +108,7 @@ "sellsmartswitch": 0, "trailingbuypcnt": 0.5, "telegramtradesonly": 0, - "granularity": "3600", + "granularity": "3600" } }, "telegram": { diff --git a/tests/unit_tests/test_telegram_bot.py b/tests/unit_tests/test_telegram_bot.py index bd821e05..b81ff374 100644 --- a/tests/unit_tests/test_telegram_bot.py +++ b/tests/unit_tests/test_telegram_bot.py @@ -1,12 +1,9 @@ import os import sys import unittest -# pylint: disable=import-error -from models.telegram import ( - Wrapper, -) sys.path.append(".") +from models.telegram import Wrapper wrapper = Wrapper("config.json.sample") wrapper.helper.datafolder = os.path.join(os.curdir, "tests", "unit_tests", "data")