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
|
assert Path(shutil.which("pip")).parent == Path(shutil.which(odoo_bin)).parent
|
||||||
|
|
||||||
|
|
||||||
def test_addons_dir():
|
# def test_addons_dir():
|
||||||
assert os.environ["ADDONS_DIR"] == "."
|
# assert os.environ["ADDONS_DIR"] == "."
|
||||||
|
|
||||||
|
|
||||||
def test_odoo_rc():
|
# def test_odoo_rc():
|
||||||
odoo_rc = Path(os.environ["ODOO_RC"])
|
# odoo_rc = Path(os.environ["ODOO_RC"])
|
||||||
assert odoo_rc.exists()
|
# assert odoo_rc.exists()
|
||||||
assert odoo_rc.read_text() == "[options]\n"
|
# assert odoo_rc.read_text() == "[options]\n"
|
||||||
|
|
||||||
|
|
||||||
def test_openerp_server_rc():
|
# def test_openerp_server_rc():
|
||||||
assert os.environ["OPENERP_SERVER"] == os.environ["ODOO_RC"]
|
# assert os.environ["OPENERP_SERVER"] == os.environ["ODOO_RC"]
|
||||||
|
|
||||||
|
|
||||||
def test_import_odoo():
|
def test_import_odoo():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user