summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4>2011-04-19 21:05:12 +0000
committerlmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4>2011-04-19 21:05:12 +0000
commitfb1cc6f50122c04d3f5d25b2ca4fdfd40c876acb (patch)
tree3b0a749b8cfbb6d4e24e96caeda9bbb79ce510e5
parent1cd37a0839feb7002da416101f5b24933ed3f0cd (diff)
Fixed unit test for server/autotest.py
Fix unit test for server/autotest.py broke in r5317. git-svn-id: svn://test.kernel.org/autotest/trunk@5323 592f7852-d20e-0410-864c-8624ca9c26a4
-rwxr-xr-xserver/autotest_unittest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/autotest_unittest.py b/server/autotest_unittest.py
index 04023e94..28519705 100755
--- a/server/autotest_unittest.py
+++ b/server/autotest_unittest.py
@@ -205,7 +205,7 @@ class TestBaseAutotest(unittest.TestCase):
c = autotest.global_config.global_config
c.get_config_value.expect_call("PACKAGES",
- 'fetch_location', type=list).and_return(['repo'])
+ 'fetch_location', type=list, default=[]).and_return(['repo'])
pkgmgr = packages.PackageManager.expect_new('autotest',
repo_urls=['repo'],
hostname='hostname')