Пример #1
0
 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)
Пример #2
0
 def setUp(self):
     self.aisteststn = ais.AISStation('235070199')
Пример #3
0
 def setUp(self):
     self.aisteststn = ais.AISStation('123456789')