Fix unit test for server/autotest.py for change @5317.

Index: server/autotest_unittest.py
===================================================================
--- server/autotest_unittest.py (revision 5316)
+++ server/autotest_unittest.py (working copy)
@@ -205,7 +205,7 @@

         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')

-- 
Eric Li
李咏竹
Google Kirkland
Index: server/autotest_unittest.py
===================================================================
--- server/autotest_unittest.py (revision 5316)
+++ server/autotest_unittest.py (working copy)
@@ -205,7 +205,7 @@
 
         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')
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to