| Index: tools/isolate/isolate_test.py
|
| diff --git a/tools/isolate/isolate_test.py b/tools/isolate/isolate_test.py
|
| new file mode 100755
|
| index 0000000000000000000000000000000000000000..3e5eac986f084d8b5b5a7bd33a55fff18a736b0a
|
| --- /dev/null
|
| +++ b/tools/isolate/isolate_test.py
|
| @@ -0,0 +1,23 @@
|
| +#!/usr/bin/env python
|
| +# Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +import unittest
|
| +
|
| +import isolate
|
| +
|
| +
|
| +class Isolate(unittest.TestCase):
|
| + def test_load_empty(self):
|
| + content = "{}"
|
| + variables = {}
|
| + command, infiles, read_only = isolate.load_isolate(
|
| + content, variables, self.fail)
|
| + self.assertEquals([], command)
|
| + self.assertEquals([], infiles)
|
| + self.assertEquals(None, read_only)
|
| +
|
| +
|
| +if __name__ == '__main__':
|
| + unittest.main()
|
|
|