Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(576)

Side by Side Diff: tools/isolate/isolate_test.py

Issue 10019014: Convert isolate.py to exclusively use .isolate files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reduce copy pasted constants Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698