Beispiel #1
0
    def test_micro_assessment(self):
        purchase_order = PurchaseOrderFactory.build(order_number='two')
        instance = MicroAssessmentFactory.build(agreement=purchase_order)
        self.assertIn(' two,', str(instance))

        purchase_order = PurchaseOrderFactory.build(order_number='tv\xe5')
        instance = MicroAssessmentFactory.build(agreement=purchase_order)
        self.assertIn(' tv\xe5,', str(instance))
Beispiel #2
0
    def test_micro_assessment(self):
        purchase_order = PurchaseOrderFactory.build(order_number='two')
        instance = MicroAssessmentFactory.build(agreement=purchase_order)
        self.assertIn(' two,', str(instance))

        purchase_order = PurchaseOrderFactory.build(order_number='tv\xe5')
        instance = MicroAssessmentFactory.build(agreement=purchase_order)
        self.assertIn(' tv\xe5,', str(instance))
Beispiel #3
0
    def test_detail_finding_info(self):
        purchase_order = PurchaseOrderFactory.build(order_number='two')
        micro = MicroAssessmentFactory.build(agreement=purchase_order)
        instance = DetailedFindingInfoFactory.build(micro_assesment=micro)
        self.assertIn(' two,', str(instance))

        purchase_order = PurchaseOrderFactory.build(order_number='tv\xe5')
        micro = MicroAssessmentFactory.build(agreement=purchase_order)
        instance = DetailedFindingInfoFactory.build(micro_assesment=micro)
        self.assertIn(' tv\xe5,', str(instance))
Beispiel #4
0
    def test_detail_finding_info(self):
        purchase_order = PurchaseOrderFactory.build(order_number='two')
        micro = MicroAssessmentFactory.build(agreement=purchase_order)
        instance = DetailedFindingInfoFactory.build(micro_assesment=micro)
        self.assertIn(' two,', str(instance))

        purchase_order = PurchaseOrderFactory.build(order_number='tv\xe5')
        micro = MicroAssessmentFactory.build(agreement=purchase_order)
        instance = DetailedFindingInfoFactory.build(micro_assesment=micro)
        self.assertIn(' tv\xe5,', str(instance))