def setUp(self):
    self.company = Company.objects.create(schema='test', name='Test')
    self.company.activate()
    self.project = Project.objects.create(name='my project')
    self.pc1 = ProjectContact.objects.create(project=self.project, contact=Contact.objects.create(first_name='A 1', last_name='B 1'))
    self.pc2 = ProjectContact.objects.create(project=self.project, contact=Contact.objects.create(first_name='A 2', last_name='B 2'))
def setUp(self):
    self.company = Company.objects.create(schema='test', name='Test')
    self.company.activate()
    self.project = Project.objects.create(name='my project')
    self.pc1 = ProjectContact.objects.create(project=self.project, contact=Contact.objects.create(first_name='A 1', last_name='B 1'))
    self.pc2 = ProjectContact.objects.create(project=self.project, contact=Contact.objects.create(first_name='A 2', last_name='B 2'))