mirror of
				https://github.com/TheLovinator1/discord-reminder-bot.git
				synced 2025-10-31 00:29:49 +01:00 
			
		
		
		
	Add test for checking if send_to_discord is in main
This commit is contained in:
		
							
								
								
									
										8
									
								
								tests/test_main.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								tests/test_main.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| from discord_reminder_bot import main | ||||
|  | ||||
|  | ||||
| def test_if_send_to_discord_is_in_main(): | ||||
|     """ | ||||
|     send_to_discords needs to be in main for this program to work. | ||||
|     """ | ||||
|     assert hasattr(main, "send_to_discord") | ||||
		Reference in New Issue
	
	Block a user