Exemple #1
0
 def setUp(self):
     self.user = TrekkingManagerFactory.create(password='******')
     self.difficulty = DifficultyLevelFactory.create()
     success = self.client.login(username=self.user.username,
                                 password='******')
     self.assertTrue(success)
Exemple #2
0
 def setUp(self):
     self.user = TrekkingManagerFactory.create(password='******')
     self.difficulty = DifficultyLevelFactory.create()
     self.trek = TrekFactory.create(difficulty=self.difficulty)
Exemple #3
0
 def setUp(self):
     self.user = TrekkingManagerFactory.create(password='******')
     self.difficulty = DifficultyLevelFactory.create()
     success = self.client.login(username=self.user.username, password='******')
     self.assertTrue(success)
Exemple #4
0
 def login(self):
     user = TrekkingManagerFactory(password='******')
     success = self.client.login(username=user.username, password='******')
     self.assertTrue(success)
Exemple #5
0
 def setUp(self):
     self.user = TrekkingManagerFactory.create(password='******')
     self.difficulty = DifficultyLevelFactory.create()
     self.trek = TrekFactory.create(difficulty=self.difficulty)