| Index: autoupdate_unittest.py
|
| diff --git a/autoupdate_unittest.py b/autoupdate_unittest.py
|
| index 6e0a37628667983ee8909a3f1a8fb696b5a7093a..faeb3000f193165c69670733125b2f79cd2f6ab6 100755
|
| --- a/autoupdate_unittest.py
|
| +++ b/autoupdate_unittest.py
|
| @@ -6,6 +6,7 @@
|
|
|
| """Unit tests for autoupdate.py."""
|
|
|
| +import cherrypy
|
| import mox
|
| import os
|
| import socket
|
| @@ -47,6 +48,8 @@ class AutoupdateTest(mox.MoxTestBase):
|
| self.url = 'http://%s/static/update.gz' % self.hostname
|
| self.payload = 'My payload'
|
| self.sha256 = 'SHA LA LA'
|
| + cherrypy.request.base = 'http://%s' % self.hostname
|
| +
|
|
|
| def _DummyAutoupdateConstructor(self):
|
| """Creates a dummy autoupdater. Used to avoid using constructor."""
|
|
|