File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -35,20 +35,13 @@ def test_required_files(self):
35
35
if not os .path .isfile (get_industry_path () + module + path ):
36
36
_logger .warning ("Missing %s at %s" , f , module + path )
37
37
38
- tx_config = Path (get_industry_path () + '.tx/config ' ).read_text (encoding = "utf-8" )
39
- if not re .search (module , tx_config ):
40
- _logger .error ("Missing module in .tx/config " )
38
+ weblate_config = Path (get_industry_path () + '.weblate.json ' ).read_text (encoding = "utf-8" )
39
+ if not re .search (module , weblate_config ):
40
+ _logger .error ("Missing module in .weblate.json " )
41
41
continue
42
42
if release .version_info [3 ] != 'final' :
43
43
# skip test if master
44
44
continue
45
- odoo_version = release .serie
46
- if odoo_version .split ('.' )[1 ] != '0' :
47
- odoo_version = odoo_version .replace ('.' , '-' ).split ('~' )[- 1 ]
48
- else :
49
- odoo_version = odoo_version .split ('.' )[0 ]
50
- if not re .search (odoo_version + ':r:' + module , tx_config ):
51
- _logger .warning ("Wrong version in .tx/config" )
52
45
53
46
db_name = get_db_name ()
54
47
if not db_name .endswith ('imported_with_demo' ):
You can’t perform that action at this time.
0 commit comments