Skip to content

Commit

Permalink
[FIX] apps_product_creator: Config variable source_code_local_path
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobaeza authored and CarlosRoca13 committed Jul 17, 2020
1 parent c20263f commit 8493022
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps_product_creator/tests/test_apps_product_creator.py
Original file line number Diff line number Diff line change
@@ -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"}
)
Expand Down

0 comments on commit 8493022

Please sign in to comment.