Skip to content

Commit 994c90a

Browse files
committed
Improve test case of spp_area_gis
1 parent 13cdf1e commit 994c90a

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

spp_area_gis/tests/test_area_import.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
1-
import os
2-
31
from odoo.addons.spp_area.tests.test_area_import import AreaImportTest as AreaImportTestMixin
42

53

64
class AreaImportTest(AreaImportTestMixin):
7-
@staticmethod
8-
def get_file_path_1():
9-
return f"{os.path.dirname(os.path.abspath(__file__))}/irq_adminboundaries_tabulardata.xlsx"
10-
11-
@staticmethod
12-
def get_file_path_2():
13-
return f"{os.path.dirname(os.path.abspath(__file__))}/pse_adminboundaries_tabulardata.xlsx"
14-
155
def test_get_column_indexes(self):
166
columns = {
177
"ADM2_EN": 0,

spp_area_gis/tests/test_area_import_raw.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
1-
import os
2-
31
from odoo.addons.spp_area.tests.test_area_import_raw import AreaImportRawTest as AreaImportRawTestMixin
42

53

64
class AreaImportRawTest(AreaImportRawTestMixin):
7-
@staticmethod
8-
def get_file_path_1():
9-
return f"{os.path.dirname(os.path.abspath(__file__))}/irq_adminboundaries_tabulardata.xlsx"
10-
11-
@staticmethod
12-
def get_file_path_2():
13-
return f"{os.path.dirname(os.path.abspath(__file__))}/pse_adminboundaries_tabulardata.xlsx"
14-
155
@classmethod
166
def setUpClass(cls):
177
super().setUpClass()

0 commit comments

Comments
 (0)