| Index: dashboard/dashboard/mr_test.py
|
| diff --git a/dashboard/dashboard/mr_test.py b/dashboard/dashboard/mr_test.py
|
| index cf04cc408a9b962b048cd89f0cde164f22587f4d..ababfda5a42801b0b502aaca928b60248180b84e 100644
|
| --- a/dashboard/dashboard/mr_test.py
|
| +++ b/dashboard/dashboard/mr_test.py
|
| @@ -4,6 +4,8 @@
|
|
|
| import datetime
|
| import unittest
|
| +import webapp2
|
| +import webtest
|
|
|
| from mapreduce import operation as op
|
|
|
| @@ -29,6 +31,13 @@ _TESTS = {
|
|
|
| class MrTest(testing_common.TestCase):
|
|
|
| + def setUp(self):
|
| + super(MrTest, self).setUp()
|
| + app = webapp2.WSGIApplication([])
|
| + self.testapp = webtest.TestApp(app)
|
| + self.SetCurrentUser('foo@bar.com', is_admin=True)
|
| + self.PatchDatastoreHooksRequest()
|
| +
|
| def _ExecOperation(self, operation):
|
| """Helper method to run a datastore mutation operation.
|
|
|
|
|