Beispiel #1
0
 def setUp(self) -> None:
     Manager.objects.create(username='******',
                            password='******',
                            userId=1,
                            email='*****@*****.**',
                            loginToken=1)
     self.headers = {'HTTP_loginToken': 1}
     initStadium(stadiums[0])
     initStadium(stadiums[1])
Beispiel #2
0
 def setUp(self) -> None:
     initStadium(stadiums[0])
     initStadium(stadiums[1])
     User.objects.create(userId=2018011891, loginToken=1)
     User.objects.create(userId=2018011904, loginToken=3)
     self.user1_headers = {'HTTP_loginToken': 1}
     self.user2_headers = {'HTTP_loginToken': 3}
     Manager.objects.create(username='******',
                            password='******',
                            userId=1,
                            email='*****@*****.**',
                            loginToken=1)
     self.headers = {'HTTP_loginToken': 1}
Beispiel #3
0
 def setUp(self) -> None:
     User.objects.create(userId=123, loginToken=1)
     initStadium(stadiums[0])
     initStadium(stadiums[1])
     self.headers = {'HTTP_loginToken': 1}
Beispiel #4
0
 def setUp(self) -> None:
     initStadium(stadiums[0])
     initStadium(stadiums[1])