def setUp(self): super().setUp() self.user_rule = UserRule() self.user = self.user_rule.user self.wet = WatchEventTypeRule()
def setUp(self): super().setUp() BOOKMARK_COUNT = 10 self.user_rule = UserRule() self.user_rule.add_bookmarks(BOOKMARK_COUNT, exercises_count=1) self.user = self.user_rule.user
def setUp(self): super().setUp() self.NUM_BOOKMARKS = 5 self.user_rule = UserRule() self.user_rule.add_bookmarks(self.NUM_BOOKMARKS) self.user = self.user_rule.user self.NUM_BOOKMARKS = len(self.user.all_bookmarks_fit_for_study())
def __init__(self): super().__init__() self.cohort = self._create_model_object() self.save(self.cohort) self.teacher = UserRule().user self.save(self.teacher) teacher_role = TeacherCohortMap(self.teacher, self.cohort) self.save(teacher_role) self.student1 = UserRule().user self.student1.cohort = self.cohort self.save(self.student1) student2 = UserRule().user student2.cohort = self.cohort self.save(student2)
def setUp(self): super().setUp() self.user_rule = UserRule() self.user = self.user_rule.user self.random_origin_word = self.faker.word() self.random_origin_language = LanguageRule().random self.user_word_rule = UserWordRule(self.random_origin_word, self.random_origin_language)
def setUp(self): super().setUp() self.user_rule = UserRule() self.user = self.user_rule.user self.url_rule = UrlRule() self.url = self.url_rule.url self.url_rule2 = UrlRule() self.url2 = self.url_rule2.url self.language_rule = LanguageRule() self.language = self.language_rule.en
def setUp(self): super().setUp() self.user = UserRule().user
def setUp(self): super().setUp() self.user = UserRule().user self.lan = LanguageRule().de
def setUp(self): super().setUp() self.text_rule = TextRule() self.user_rule = UserRule() self.bookmark_rule = BookmarkRule(self.user_rule.user)
def setUp(self): super().setUp() self.user_rule = UserRule() self.user_rule.add_bookmarks(random.randint(1, 3)) self.user = self.user_rule.user
def setUp(self): super().setUp() self.user_rule = UserRule() self.user = self.user_rule.user