def credentials_for(self, ident):
        if ident not in self.testdata:
            raise nose.SkipTest('no credentials for %s tests' % ident)
        consumer = oauth.OAuthConsumer(
            self.testdata['configuration']['oauth_consumer_key'],
            self.testdata['configuration']['oauth_consumer_secret'],
        )
        token = oauth.OAuthToken(
            self.testdata[ident]['oauth_key'],
            self.testdata[ident]['oauth_secret'],
        )
        backend = urlparse(self.testdata['configuration']['backend_url'])
        typepad.client.clear_credentials()
        typepad.client.add_credentials(consumer, token, domain=backend[1])
Return a copy of this location.
dataset/ETHPy150Open typepad/python-typepad-api/tests/test_typepad.py/TestTypePad.credentials_for--crossover with--dataset/ETHPy150Open LettError/MutatorMath/Lib/mutatorMath/objects/location.py/Location.copy