| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import collections | 5 import collections |
| 6 import json | 6 import json |
| 7 import os | 7 import os |
| 8 import urllib | 8 import urllib |
| 9 import zlib | 9 import zlib |
| 10 | 10 |
| (...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 571 'valid': True | 571 'valid': True |
| 572 } | 572 } |
| 573 | 573 |
| 574 self.assertEqual(expected_failure_log, failure_log) | 574 self.assertEqual(expected_failure_log, failure_log) |
| 575 | 575 |
| 576 def testGetTagValueInvalidTag(self): | 576 def testGetTagValueInvalidTag(self): |
| 577 tags = ['a:1', 'b:2'] | 577 tags = ['a:1', 'b:2'] |
| 578 self.assertIsNone(swarming_util.GetTagValue(tags, 'c')) | 578 self.assertIsNone(swarming_util.GetTagValue(tags, 'c')) |
| 579 | 579 |
| 580 def testGenerateIsolatedDataOutputsrefNone(self): | 580 def testGenerateIsolatedDataOutputsrefNone(self): |
| 581 self.assertEqual({}, swarming_util._GenerateIsolatedData(None)) | 581 self.assertEqual({}, swarming_util._GenerateIsolatedData(None)) |
| 582 |
| 583 def testFetchOutputJsonInfoFromIsolatedServerReturnNone(self): |
| 584 self.assertIsNone(swarming_util._FetchOutputJsonInfoFromIsolatedServer( |
| 585 None, self.http_client)) |
| OLD | NEW |