Did I find the right examples for you? yes no

All Samples(15)  |  Call(14)  |  Derive(0)  |  Import(1)
Instantiate with a given configuration and provide profile management methods.

src/p/a/PayPy-0.6/tests/test_profile.py   PayPy(Download)
import datetime
 
from unittest      import TestCase
from paypy.profile import Profile
 
        cim.authentication = auth
 
        profile = Profile(cim)
        result  = profile.create()
 
        cim.authentication = auth
 
        profile = Profile(cim)
        result  = profile.create()
 
        cim.authentication = auth
 
        profile = Profile(cim)
        result  = profile.create()
 
        cim.authentication = auth
 
        profile = Profile(cim)
        result  = profile.create()
        assert result.code == 'I00001', 'Expected a successful request, received this instead: %s' % result.reason