From afa04dace8358f41a5591711e66b15928062c776 Mon Sep 17 00:00:00 2001 From: mraniki <8766259+mraniki@users.noreply.github.com> Date: Fri, 4 Aug 2023 20:14:17 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_dex_exchange_plugin.py | 4 ++-- tests/test_unit.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_dex_exchange_plugin.py b/tests/test_dex_exchange_plugin.py index 20856bda7..ee221aa51 100644 --- a/tests/test_dex_exchange_plugin.py +++ b/tests/test_dex_exchange_plugin.py @@ -26,7 +26,7 @@ def test_fixture_plugin(): return DexExchangePlugin() -def test_dynaconf_is_in_testing_env_DEX56(bsc): +def test_dynaconf_is_in_testing_env_DEX56(): print(settings.VALUE) assert settings.VALUE == "On Testing DEX_56" assert settings.cex_name == "" @@ -34,7 +34,7 @@ def test_dynaconf_is_in_testing_env_DEX56(bsc): @pytest.mark.asyncio -async def test_listener_discord(bsc): +async def test_listener_discord(): print(settings.VALUE) listener_test = Listener() print(listener_test) diff --git a/tests/test_unit.py b/tests/test_unit.py index 8fcf80c89..0d6487772 100644 --- a/tests/test_unit.py +++ b/tests/test_unit.py @@ -108,7 +108,7 @@ async def test_start_plugins(): @pytest.mark.asyncio async def test_run_bot(): - listener_instance = Listener() + listener_instance = Listener(chat_platform="discord") start_bot = AsyncMock(side_effect=[listener_instance]) with patch('tt.utils.start_bot', start_bot): task = asyncio.create_task(run_bot())