[jhbuild] tests: ensure we are using a mock PackageDB
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] tests: ensure we are using a mock PackageDB
- Date: Sat, 8 Oct 2011 15:57:34 +0000 (UTC)
commit 00aa80f9c4b6fb0a9db7b990397b14d10041f727
Author: FrÃdÃric PÃters <fpeters 0d be>
Date: Sat Oct 8 11:56:18 2011 -0400
tests: ensure we are using a mock PackageDB
tests/tests.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/tests.py b/tests/tests.py
index 08c5292..0b623a6 100644
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -124,6 +124,7 @@ class JhbuildConfigTestCase(unittest.TestCase):
def make_terminal_buildscript(self, config, module_list):
module_set = jhbuild.moduleset.load(config)
+ module_set.packagedb = mock.PackageDB()
return jhbuild.frontends.terminal.TerminalBuildScript(config, module_list, module_set)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]