Exemple #1
0
    def test_get_grand_total_on_summary_report(self):
        report = ReportParser(
            self.build_mock_report('summary_basic_single_group'))

        grand_total = report.get_grand_total()

        self.assertEquals(grand_total, 9469000000)
    def test_get_grand_total_on_matrix_report(self):
        report = ReportParser(self.build_mock_report('matrix_basic'))

        grand_total = report.get_grand_total()

        self.assertEquals(grand_total, 3645000)
    def test_get_grand_total_on_summary_report(self):
        report = ReportParser(self.build_mock_report('summary_basic_single_group'))

        grand_total = report.get_grand_total()

        self.assertEquals(grand_total, 9469000000)
Exemple #4
0
    def test_get_grand_total_on_matrix_report(self):
        report = ReportParser(self.build_mock_report('matrix_basic'))

        grand_total = report.get_grand_total()

        self.assertEquals(grand_total, 3645000)