def setUp(self): self.project = ProvInfraProject(IRM_project_id=1) self.fin_year = FinancialYear(slug="2030-31") q4 = Quarter(number=4) irm_snapshot_2 = IRMSnapshot(financial_year=self.fin_year, quarter=q4) self.project_snapshot = ProvInfraProjectSnapshot( irm_snapshot=irm_snapshot_2, project=self.project)
def setUp(self): self.project = ProvInfraProject(IRM_project_id=1) self.fin_year = FinancialYear(slug="2030-31") q2 = Quarter(number=2) irm_snapshot = IRMSnapshot(financial_year=self.fin_year, quarter=q2) self.project_snapshot = ProvInfraProjectSnapshot( irm_snapshot=irm_snapshot, project=self.project, status="Tender")
def setUp(self): self.project = ProvInfraProject(IRM_project_id=1) self.fin_year_1 = FinancialYear(slug="2018-19") q4 = Quarter(number=4) irm_snapshot_2 = IRMSnapshot(financial_year=self.fin_year_1, quarter=q4) self.project_snapshot = ProvInfraProjectSnapshot( 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, ) self.fin_year_2 = FinancialYear(slug="2019-20") q1 = Quarter(number=1) irm_snapshot_2 = IRMSnapshot(financial_year=self.fin_year_2, quarter=q1) self.project_snapshot_2 = ProvInfraProjectSnapshot( irm_snapshot=irm_snapshot_2, project=self.project, actual_expenditure_q1=50, expenditure_from_previous_years_total=200, )
def setUp(self): self.project = ProvInfraProject(IRM_project_id=1) self.fin_year = FinancialYear(slug="2030-31") q1 = Quarter(number=1) irm_snapshot = IRMSnapshot(financial_year=self.fin_year, quarter=q1) self.project_snapshot = ProvInfraProjectSnapshot( irm_snapshot=irm_snapshot, project=self.project, actual_expenditure_q1=10, expenditure_from_previous_years_total=100, )
def setUp(self): self.project = ProvInfraProject(IRM_project_id=1) self.fin_year = FinancialYear(slug="2019-20") q4 = Quarter(number=4) irm_snapshot = IRMSnapshot(financial_year=self.fin_year, quarter=q4) self.project_snapshot = ProvInfraProjectSnapshot( 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 = ProvInfraProject(IRM_project_id=1) self.fin_year = FinancialYear(slug="2030-31") q2 = Quarter(number=2) irm_snapshot = IRMSnapshot(financial_year=self.fin_year, quarter=q2) self.project_snapshot = ProvInfraProjectSnapshot( 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", )
def setUp(self): self.project = ProvInfraProject(IRM_project_id=1) self.fin_year_1 = FinancialYear(slug="2018-19") q2 = Quarter(number=2) irm_snapshot_2 = IRMSnapshot(financial_year=self.fin_year_1, quarter=q2) self.project_snapshot = ProvInfraProjectSnapshot( irm_snapshot=irm_snapshot_2, project=self.project) self.fin_year_2 = FinancialYear(slug="2019-20") q4 = Quarter(number=4) irm_snapshot_2 = IRMSnapshot(financial_year=self.fin_year_2, quarter=q4) self.project_snapshot_2 = ProvInfraProjectSnapshot( irm_snapshot=irm_snapshot_2, project=self.project)