Пример #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()
Пример #2
0
    def setUp(self):
        create_default_country()
        self.customer = get_or_create_default_customer()

        self.officer = get_or_create_default_officer()

        self.client = SocialClient()
Пример #3
0
def create_profile(user):
    create_default_country()
    address = G(Address, user=user, country='AU')
    return G(Profile, adress=address, user=user)
Пример #4
0
def create_profile(user):
    create_default_country()
    address = G(Address, user=user, country='AU')
    return G(Profile, adress=address, user=user)