def test_convert_login_customer_id_to_str_with_int(self): config_data = {'login_customer_id': 1234567890} expected = {'login_customer_id': '1234567890'} self.assertEqual(config.convert_login_customer_id_to_str(config_data), expected)
def test_parse_login_customer_id_with_none(self): config_data = {'not_login_customer_id': 1234567890} self.assertEqual(config.convert_login_customer_id_to_str(config_data), config_data)
def test_parse_login_customer_id_with_str(self): config_data = {"login_customer_id": "1234567890"} self.assertEqual(config.convert_login_customer_id_to_str(config_data), config_data)