def setUp(self): self.project = InfraProject(IRM_project_id=1) fin_year_1 = FinancialYear(slug="2018-19") self.sphere_1 = Sphere(financial_year=fin_year_1, name="Provincial") q4 = Quarter(number=4) irm_snapshot_2 = IRMSnapshot(sphere=self.sphere_1, quarter=q4) self.project_snapshot = InfraProjectSnapshot( irm_snapshot=irm_snapshot_2, project=self.project, actual_expenditure_q1=1, actual_expenditure_q2=2, actual_expenditure_q3=3, actual_expenditure_q4=4, expenditure_from_previous_years_total=100, ) fin_year_2 = FinancialYear(slug="2019-20") self.sphere_2 = Sphere(financial_year=fin_year_2, name="Provincial") q1 = Quarter(number=1) irm_snapshot_2 = IRMSnapshot(sphere=self.sphere_2, quarter=q1) self.project_snapshot_2 = InfraProjectSnapshot( irm_snapshot=irm_snapshot_2, project=self.project, actual_expenditure_q1=50, expenditure_from_previous_years_total=200, )
def setUp(self): self.project = InfraProject(IRM_project_id=1) fin_year = FinancialYear(slug="2030-31") self.sphere = Sphere(financial_year=fin_year, name="Provincial") q2 = Quarter(number=2) irm_snapshot_2 = IRMSnapshot(sphere=self.sphere, quarter=q2) self.project_snapshot = InfraProjectSnapshot( irm_snapshot=irm_snapshot_2, project=self.project, status="Tender")
def setUp(self): self.project = InfraProject(IRM_project_id=1) fin_year = FinancialYear(slug="2030-31") self.sphere = Sphere(financial_year=fin_year, name="Provincial") q2 = Quarter(number=2) irm_snapshot = IRMSnapshot(sphere=self.sphere, quarter=q2) self.project_snapshot = InfraProjectSnapshot( irm_snapshot=irm_snapshot, project=self.project, estimated_total_project_cost=100, )
def setUp(self): self.project = InfraProject(IRM_project_id=1) fin_year = FinancialYear(slug="2030-31") self.sphere = Sphere(financial_year=fin_year, name="Provincial") q1 = Quarter(number=1) irm_snapshot = IRMSnapshot(sphere=self.sphere, quarter=q1) self.project_snapshot = InfraProjectSnapshot( irm_snapshot=irm_snapshot, project=self.project, actual_expenditure_q1=10, expenditure_from_previous_years_total=100, )
def setUp(self): self.project = InfraProject(IRM_project_id=1) fin_year = FinancialYear(slug="2019-20") self.sphere = Sphere(financial_year=fin_year, name="Provincial") q4 = Quarter(number=4) irm_snapshot = IRMSnapshot(sphere=self.sphere, quarter=q4) self.project_snapshot = InfraProjectSnapshot( irm_snapshot=irm_snapshot, project=self.project, estimated_construction_start_date="2019-01-01", estimated_construction_end_date="2021-12-31", )
def setUp(self): self.project = InfraProject(IRM_project_id=1) fin_year_1 = FinancialYear(slug="2018-19") self.sphere_1 = Sphere(financial_year=fin_year_1, name="Provincial") q2 = Quarter(number=2) irm_snapshot_2 = IRMSnapshot(sphere=self.sphere_1, quarter=q2) self.project_snapshot = InfraProjectSnapshot( irm_snapshot=irm_snapshot_2, project=self.project) fin_year_2 = FinancialYear(slug="2019-20") self.sphere_2 = Sphere(financial_year=fin_year_2, name="Provincial") q4 = Quarter(number=4) irm_snapshot_2 = IRMSnapshot(sphere=self.sphere_2, quarter=q4) self.project_snapshot_2 = InfraProjectSnapshot( irm_snapshot=irm_snapshot_2, project=self.project)
def setUp(self): self.project = InfraProject(IRM_project_id=1) fin_year = FinancialYear(slug="2030-31") self.sphere = Sphere(financial_year=fin_year, name="Provincial") q2 = Quarter(number=2) irm_snapshot = IRMSnapshot(sphere=self.sphere, quarter=q2) self.project_snapshot = InfraProjectSnapshot( irm_snapshot=irm_snapshot, project=self.project, start_date="2029-09-30", estimated_construction_start_date="2030-01-01", estimated_completion_date="2033-02-01", contracted_construction_end_date="2033-01-31", estimated_construction_end_date="2032-12-31", )