def setUpTestData(cls):
     TermFactory.create_batch(15)
Example #2
0
    def setUpTestData(cls):
        # Create 100 Terms in a single belonging to a single sport
        num_terms = 100
        cls.sport = SportFactory.create()

        TermFactory.create_batch(num_terms, sport=cls.sport)
    def setUpTestData(cls):
        # Create 200 Terms
        num_terms = 200

        TermFactory.create_batch(num_terms)