This commit is contained in:
parent
b76e947765
commit
bff1c557ef
@ -29,18 +29,18 @@ def test_pip_in_path():
|
||||
assert Path(shutil.which("pip")).parent == Path(shutil.which(odoo_bin)).parent
|
||||
|
||||
|
||||
def test_addons_dir():
|
||||
assert os.environ["ADDONS_DIR"] == "."
|
||||
# def test_addons_dir():
|
||||
# assert os.environ["ADDONS_DIR"] == "."
|
||||
|
||||
|
||||
def test_odoo_rc():
|
||||
odoo_rc = Path(os.environ["ODOO_RC"])
|
||||
assert odoo_rc.exists()
|
||||
assert odoo_rc.read_text() == "[options]\n"
|
||||
# def test_odoo_rc():
|
||||
# odoo_rc = Path(os.environ["ODOO_RC"])
|
||||
# assert odoo_rc.exists()
|
||||
# assert odoo_rc.read_text() == "[options]\n"
|
||||
|
||||
|
||||
def test_openerp_server_rc():
|
||||
assert os.environ["OPENERP_SERVER"] == os.environ["ODOO_RC"]
|
||||
# def test_openerp_server_rc():
|
||||
# assert os.environ["OPENERP_SERVER"] == os.environ["ODOO_RC"]
|
||||
|
||||
|
||||
def test_import_odoo():
|
||||
|
Loading…
x
Reference in New Issue
Block a user