def test_decode_stn_type_unknown(self):
     val = "thesearenotthestationsyourelookingfor"
     decoder = MetarDecoderDefault()
     decoder.decode_stn_type(val)
     res = decoder.decoded_metar["stn_type"][self.DECODED_KEY]
     assert_equals(res, "unknown station type '" + val + "'")
 def test_decode_stn_type_unknown(self):
   val = "thesearenotthestationsyourelookingfor"
   decoder = MetarDecoderDefault()
   decoder.decode_stn_type(val)
   res = decoder.decoded_metar["stn_type"][self.DECODED_KEY]
   assert_equals(res, "unknown station type '" + val + "'")
 def test_decode_stn_type_ao2(self):
     val = "AO2"
     decoder = MetarDecoderDefault()
     decoder.decode_stn_type(val)
     res = decoder.decoded_metar["stn_type"][self.DECODED_KEY]
     assert_equals(res, "automated station with precipitation sensor")
 def test_decode_stn_type_ao2(self):
   val = "AO2"
   decoder = MetarDecoderDefault()
   decoder.decode_stn_type(val)
   res = decoder.decoded_metar["stn_type"][self.DECODED_KEY]
   assert_equals(res, "automated station with precipitation sensor")