

def test_parses_client_credentials(self):
    parser = CredentialsParser(client_id='client_id$development$integration_client_id', client_secret='client_secret$development$integration_client_secret')
    parser.parse_client_credentials()
    self.assertEqual(parser.client_id, 'client_id$development$integration_client_id')
    self.assertEqual(parser.client_secret, 'client_secret$development$integration_client_secret')
    self.assertEqual(parser.environment, braintree.Environment.Development)

dataset/ETHPy150Open braintree/braintree_python/tests/integration/test_credentials_parser.py TestCredentialsParser.test_parses_client_credentials/original