Index: appengine/swarming/swarming_bot/api/bot_test.py |
diff --git a/appengine/swarming/swarming_bot/api/bot_test.py b/appengine/swarming/swarming_bot/api/bot_test.py |
index 93fab4122f1ffe145ce5b7706ec01f2a559b1309..c1ab0bd55c42afdfb1f348518a6082ad3a39700d 100755 |
--- a/appengine/swarming/swarming_bot/api/bot_test.py |
+++ b/appengine/swarming/swarming_bot/api/bot_test.py |
@@ -19,6 +19,7 @@ import bot |
class TestBot(unittest.TestCase): |
def test_bot(self): |
obj = bot.Bot( |
+ None, |
{'dimensions': {'foo': 'bar'}}, |
'https://localhost:1', |
'1234-1a2b3c4-tainted-joe', |
@@ -32,14 +33,14 @@ class TestBot(unittest.TestCase): |
self.assertEqual('base_dir', obj.base_dir) |
def test_bot_call_later(self): |
- obj = bot.Bot({}, 'https://localhost:1', '1234-1a2b3c4-tainted-joe', |
+ obj = bot.Bot(None, {}, 'https://localhost:1', '1234-1a2b3c4-tainted-joe', |
'base_dir', None) |
ev = threading.Event() |
obj.call_later(0.001, ev.set) |
self.assertTrue(ev.wait(1)) |
def test_bot_call_later_cancel(self): |
- obj = bot.Bot({}, 'https://localhost:1', '1234-1a2b3c4-tainted-joe', |
+ obj = bot.Bot(None, {}, 'https://localhost:1', '1234-1a2b3c4-tainted-joe', |
'base_dir', None) |
ev = threading.Event() |
obj.call_later(0.1, ev.set) |