| OLD | NEW |
| (Empty) | |
| 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. |
| 5 |
| 6 import unittest |
| 7 |
| 8 import isolate |
| 9 |
| 10 |
| 11 class Isolate(unittest.TestCase): |
| 12 def test_load_empty(self): |
| 13 content = "{}" |
| 14 variables = {} |
| 15 command, infiles, read_only = isolate.load_isolate( |
| 16 content, variables, self.fail) |
| 17 self.assertEquals([], command) |
| 18 self.assertEquals([], infiles) |
| 19 self.assertEquals(None, read_only) |
| 20 |
| 21 |
| 22 if __name__ == '__main__': |
| 23 unittest.main() |
| OLD | NEW |