예제 #1
0
 def setUp(self):
     user = User()
     user.username = "******"
     user.set_password("123colab4")
     user.email = "*****@*****.**"
     user.id = 1
     user.twitter = "usertestcolab"
     user.facebook = "usertestcolab"
     user.first_name = "USERtestCoLaB"
     user.last_name = "COLAB"
     user.save()
예제 #2
0
 def setUp(self):
     user = User()
     user.username = "******"
     user.set_password("123colab4")
     user.email = "*****@*****.**"
     user.id = 1
     user.twitter = "usertestcolab"
     user.facebook = "usertestcolab"
     user.first_name = "USERtestCoLaB"
     user.last_name = "COLAB"
     user.save()
예제 #3
0
    def create_user(self):
        user = User()
        user.username = "******"
        user.set_password("123colab4")
        user.email = "*****@*****.**"
        user.id = 1
        user.twitter = "usertest"
        user.facebook = "usertest"
        user.first_name = "usertest"
        user.last_name = "COLAB"
        user.save()

        return user
    def create_user(self):
        user = User()
        user.username = "******"
        user.set_password("123colab4")
        user.email = "*****@*****.**"
        user.id = 1
        user.twitter = "usertest"
        user.facebook = "usertest"
        user.first_name = "usertest"
        user.last_name = "COLAB"
        user.save()

        return user