Check if send_to_user is in main

This commit is contained in:
2022-12-15 00:07:43 +01:00
parent 96c8ed8d2e
commit 8e01a84d0b

View File

@ -6,3 +6,9 @@ def test_if_send_to_discord_is_in_main():
send_to_discords needs to be in main for this program to work. send_to_discords needs to be in main for this program to work.
""" """
assert hasattr(main, "send_to_discord") assert hasattr(main, "send_to_discord")
def test_if_send_to_user_is_in_main():
"""
send_to_user needs to be in main for this program to work.
"""
assert hasattr(main, "send_to_user")