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

Side by Side Diff: media/tools/layout_tests/test_expectations_unittest.py

Issue 8672007: Fix python scripts in src/media (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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
1 #!/usr/bin/python 1 #!/usr/bin/env python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import unittest 6 import unittest
7 7
8 from test_expectations import TestExpectations 8 from test_expectations import TestExpectations
9 9
10 10
11 class TestTestExpectations(unittest.TestCase): 11 class TestTestExpectations(unittest.TestCase):
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 self.assertEquals(TestExpectations.ExtractTestOrDirectoryName(line), 50 self.assertEquals(TestExpectations.ExtractTestOrDirectoryName(line),
51 'media/track/') 51 'media/track/')
52 52
53 def testExtractTestOrDirectoryNameWithException(self): 53 def testExtractTestOrDirectoryNameWithException(self):
54 self.assertRaises(ValueError, 54 self.assertRaises(ValueError,
55 TestExpectations.ExtractTestOrDirectoryName, 'Foo') 55 TestExpectations.ExtractTestOrDirectoryName, 'Foo')
56 56
57 57
58 if __name__ == '__main__': 58 if __name__ == '__main__':
59 unittest.main() 59 unittest.main()
OLDNEW
« no previous file with comments | « media/tools/layout_tests/test_expectations_history_unittest.py ('k') | media/tools/layout_tests/trend_graph.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698