[jhbuild] tests: fix unit tests broken by setup_env() changes
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] tests: fix unit tests broken by setup_env() changes
- Date: Wed, 28 Jan 2015 14:50:10 +0000 (UTC)
commit 2446f35a12e962993d88f79337518df7dd947f99
Author: Frédéric Péters <fpeters 0d be>
Date: Wed Jan 28 15:49:22 2015 +0100
tests: fix unit tests broken by setup_env() changes
tests/tests.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/tests/tests.py b/tests/tests.py
index 7410f7e..1745db1 100644
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -88,7 +88,8 @@ class TestConfig(jhbuild.config.Config):
pass
def real_setup_env(self):
- jhbuild.config.Config.setup_env(self)
+ from jhbuild.environment import setup_env
+ setup_env(self.prefix)
class JhbuildConfigTestCase(unittest.TestCase):
"""A test case that creates a mock configuration and temporary directory."""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]