Exemplo n.º 1
0
 def setUpTestData(cls):
     create_test_user(cls)
     create_test_inventory_models(cls)
     create_test_common_entities(cls)
Exemplo n.º 2
0
 def setUpTestData(cls):
     create_account_models(cls)
     create_test_user(cls)
     create_test_inventory_models(cls)
     create_test_common_entities(cls)
     InventoryModelCreator(cls).create_inventory_controller()
Exemplo n.º 3
0
 def setUpTestData(cls):
     create_account_models(cls)
     create_test_user(cls)
     create_test_inventory_models(cls)
     create_test_common_entities(cls)
     EmployeeModelCreator(cls).create_employee()
Exemplo n.º 4
0
 def setUpClass(cls):
     super().setUpClass()
     create_test_user(cls)
     cls.client = Client()
Exemplo n.º 5
0
 def setUpTestData(cls):
     Employee.objects.create(first_name="Test",
                             last_name="Employee",
                             hire_date=TODAY)
     create_test_user(cls)
     create_test_common_entities(cls)
Exemplo n.º 6
0
 def setUpTestData(cls):
     imc = InvoicingModelCreator(cls)
     imc.create_all()
     create_test_user(cls)
     create_test_common_entities(cls)