def test_valid_nickname(self): res = get_dungeon_timers('wcm') self.assertEqual( res, 'Waycrest Manor timers:\n' '+1: 10:00\n' '+2: 12:30\n' '+3: 15:00')
def test_no_name(self): res = get_dungeon_timers() self.assertEqual( res, 'You must enter a dungeon name. Try `!dungeons` to see dungeon names.' )
def test_invalid_name(self): res = get_dungeon_timers('foo') self.assertEqual( res, 'I\'m sorry, I didn\'t understand the dungeon `foo`. ' 'Try `!dungeons` to see dungeon names.')
async def get_dungeon_timers(ctx, *dungeon_name): await ctx.send(command_validation.get_dungeon_timers(*dungeon_name))