Skip to content

Commit

Permalink
📝
Browse files Browse the repository at this point in the history
  • Loading branch information
mraniki committed Aug 4, 2023
1 parent 93fe820 commit afa04da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/test_dex_exchange_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ 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 == ""
assert settings.dex_wallet_address == "0x1234567890123456789012345678901234567899"


@pytest.mark.asyncio
async def test_listener_discord(bsc):
async def test_listener_discord():
print(settings.VALUE)
listener_test = Listener()
print(listener_test)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit afa04da

Please sign in to comment.