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())