From 8493022a3b919267aa8a548b5c413a1c4a624291 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Thu, 16 Jul 2020 11:59:43 +0200 Subject: [PATCH] [FIX] apps_product_creator: Config variable source_code_local_path --- apps_product_creator/tests/test_apps_product_creator.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps_product_creator/tests/test_apps_product_creator.py b/apps_product_creator/tests/test_apps_product_creator.py index 40e2eaa..7023259 100644 --- a/apps_product_creator/tests/test_apps_product_creator.py +++ b/apps_product_creator/tests/test_apps_product_creator.py @@ -1,12 +1,14 @@ # Copyright (C) 2017-Today: Odoo Community Association (OCA) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo.tests.common import TransactionCase +from odoo.tools import config class TestAppsProductCreator(TransactionCase): def setUp(self): super(TestAppsProductCreator, self).setUp() - + # Trick this configuration value for avoiding an error + config["source_code_local_path"] = "/tmp/" self.organization1 = self.env["github.organization"].create( {"name": "Organization 1", "github_login": "login"} )