(cls)
| 33 | |
| 34 | @classmethod |
| 35 | def setUpTestData(cls): |
| 36 | super().setUpTestData() |
| 37 | |
| 38 | cls.new_org = Organization.objects.create(name="New Organization") |
| 39 | cls.new_project = Team.objects.create(name="New Project", organization=cls.new_org) |
| 40 | cls.user.join(organization=cls.new_org) |
| 41 | cls.user.current_organization = cls.organization |
| 42 | cls.user.current_team = cls.team |
| 43 | cls.user.save() |
| 44 | |
| 45 | def setUp(self): |
| 46 | # prevent throttling of user requests to pass on from one test |
no test coverage detected