def test_wmoheader(self): """" Make sure we can handle some header variations """ ar = ["FTUS43 KOAX 102320 ", "FTUS43 KOAX 102320 COR ", "FTUS43 KOAX 102320 COR ", "FTUS43 KOAX 102320", ] for a in ar: self.assertTrue(WMO_RE.match(a) is not None)
def test_wmoheader(self): """" Make sure we can handle some header variations """ ar = ["FTUS43 KOAX 102320 ", "FTUS43 KOAX 102320 COR ", "FTUS43 KOAX 102320 COR ", "FTUS43 KOAX 102320", ] for item in ar: self.assertTrue(WMO_RE.match(item) is not None)
def test_wmoheader(): """" Make sure we can handle some header variations """ ar = [ "FTUS43 KOAX 102320 ", "FTUS43 KOAX 102320 COR ", "FTUS43 KOAX 102320 COR ", "FTUS43 KOAX 102320", ] for item in ar: assert WMO_RE.match(item) is not None