def test_mmsi_with_single_leading_zero(self): """ identify the flag for MMSI with a single leading zero """ teststn = ais.AISStation('023358500') expectedflag = 'United Kingdom' self.assertEqual(expectedflag, teststn.flag)
def setUp(self): self.aisteststn = ais.AISStation('235070199')
def setUp(self): self.aisteststn = ais.AISStation('123456789')