def test_exchange_state(self): self.assertEqual('41201', Common.exchange_state(41201)['sub']['code'])