diff --git a/excel_import_export_demo/tests/test_xlsx_import_export.py b/excel_import_export_demo/tests/test_xlsx_import_export.py index 072cf7c35..0c4782ca3 100644 --- a/excel_import_export_demo/tests/test_xlsx_import_export.py +++ b/excel_import_export_demo/tests/test_xlsx_import_export.py @@ -11,7 +11,7 @@ class TestXLSXImportExport(TestExcelImportExport): super(TestExcelImportExport, cls).setUpClass() def test_xlsx_export_import(self): - """ Test Export Excel from Sales Order """ + """Test Export Excel from Sales Order""" # Create Sales Order self.setUpSaleOrder() # ----------- EXPORT --------------- @@ -62,7 +62,7 @@ class TestXLSXImportExport(TestExcelImportExport): import_wizard.action_import() def test_add_remove_export_import_action(self): - """ On the template itself, test add / remove action """ + """On the template itself, test add / remove action""" template = self.env.ref("excel_import_export_demo.sale_order_xlsx_template") self.assertTrue(template.import_action_id) self.assertTrue(template.export_action_id) diff --git a/excel_import_export_demo/tests/test_xlsx_report.py b/excel_import_export_demo/tests/test_xlsx_report.py index 6569a4e1f..f603209b6 100644 --- a/excel_import_export_demo/tests/test_xlsx_report.py +++ b/excel_import_export_demo/tests/test_xlsx_report.py @@ -11,7 +11,7 @@ class TestXLSXReport(TestExcelImportExport): super(TestXLSXReport, cls).setUpClass() def test_xlsx_report(self): - """ Test Report from Sales Order """ + """Test Report from Sales Order""" # Create Many Sales Orders self.setUpManySaleOrder() ctx = { diff --git a/excel_import_export_demo/tests/test_xlsx_template.py b/excel_import_export_demo/tests/test_xlsx_template.py index 629f26e02..b7b9e3ecc 100644 --- a/excel_import_export_demo/tests/test_xlsx_template.py +++ b/excel_import_export_demo/tests/test_xlsx_template.py @@ -14,7 +14,7 @@ class TestXLSXTemplate(TestExcelImportExport): super(TestExcelImportExport, cls).setUpClass() def test_xlsx_template(self): - """ Test XLSX Template input and output instruction """ + """Test XLSX Template input and output instruction""" self.setUpXLSXTemplate() instruction_dict = literal_eval(self.sample_template.instruction) self.assertDictEqual( @@ -63,7 +63,7 @@ class TestXLSXTemplate(TestExcelImportExport): self.assertTrue(self.sample_template.datas) # Loaded successfully def test_xlsx_template_easy_reporting(self): - """ Test XLSX template using easy reporting option """ + """Test XLSX template using easy reporting option""" sale_model = self.env["ir.model"].search([("model", "=", "sale.order")]) # Create the template with Form(self.env["xlsx.template"]) as f: