def test_parse_log_level_set_ing(self): self.assertIs(parse_log_level("[INF]: File deleted"), LogLevel.Info, msg="The Log level is incorrect")
def test_parse_log_level_set_err(self): self.assertIs(parse_log_level("[ERR]: Some Random Log"), LogLevel.Error, msg="The Log level is incorrect")
def test_parse_log_level_set_xyz(self): self.assertIs(parse_log_level("[XYZ]: Some Random Log"), LogLevel.Unknown, msg="The Log level is incorrect")
def test_parse_log_level_set_wrn(self): self.assertIs(parse_log_level("[WRN]: File is being overwritten"), LogLevel.Warning, msg="The Log level is incorrect")
def test_parse_log_level_set_ing(self): self.assertIs(parse_log_level('[INF]: File deleted'), LogLevel.INFO, msg='The Log level is incorrect')
def test_parse_log_level_set_xyz(self): self.assertIs(parse_log_level('[XYZ]: Some Random Log'), LogLevel.UNKNOWN, msg='The Log level is incorrect')
def test_parse_log_level_set_err(self): self.assertIs(parse_log_level('[ERR]: Some Random Log'), LogLevel.ERROR, msg='The Log level is incorrect')
def test_parse_log_level_set_wrn(self): self.assertIs(parse_log_level('[WRN]: File is being overwritten'), LogLevel.WARNING, msg='The Log level is incorrect')