Esempio n. 1
0
    def setUp(self):
        create_default_country()
        self.customer = get_or_create_default_customer()

        self.officer = get_or_create_default_officer()

        self.client = SocialClient()
Esempio n. 2
0
def create_profile(user):
    create_default_country()
    address = G(Address, user=user, country='AU')
    return G(Profile, adress=address, user=user)