File tree Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Original file line number Diff line number Diff line change 1
- import os
2
-
3
1
from odoo .addons .spp_area .tests .test_area_import import AreaImportTest as AreaImportTestMixin
4
2
5
3
6
4
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
-
15
5
def test_get_column_indexes (self ):
16
6
columns = {
17
7
"ADM2_EN" : 0 ,
Original file line number Diff line number Diff line change 1
- import os
2
-
3
1
from odoo .addons .spp_area .tests .test_area_import_raw import AreaImportRawTest as AreaImportRawTestMixin
4
2
5
3
6
4
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
-
15
5
@classmethod
16
6
def setUpClass (cls ):
17
7
super ().setUpClass ()
You can’t perform that action at this time.
0 commit comments