| Index: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_finder_unittest.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_finder_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_finder_unittest.py
|
| index fac9754dc78aaa2b55f74260ce9a72e7ebd7f2ff..3755bba1c2ee1e3f9d6d23df945c1fad1b29b657 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_finder_unittest.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_finder_unittest.py
|
| @@ -63,24 +63,13 @@ class LayoutTestFinderTests(unittest.TestCase):
|
| host = MockHost()
|
| port = host.port_factory.get('test-win-win7', None)
|
|
|
| - all_tests = [
|
| - 'fast/css/1.html',
|
| - 'fast/css/2.html',
|
| - ]
|
| + all_tests = ['fast/css/1.html', 'fast/css/2.html', ]
|
|
|
| port.tests = lambda paths: paths or all_tests
|
|
|
| finder = layout_test_finder.LayoutTestFinder(port, {})
|
|
|
| - finder._times_trie = lambda: {
|
| - 'fast': {
|
| - 'css': {
|
| - '1.html': 1,
|
| - '2.html': 2,
|
| - 'non-existant.html': 1,
|
| - }
|
| - },
|
| - }
|
| + finder._times_trie = lambda: {'fast': {'css': {'1.html': 1, '2.html': 2, 'non-existant.html': 1, }}, }
|
|
|
| tests = finder.find_tests(fastest_percentile=90, args=[])
|
| self.assertEqual(set(tests[1]), set(['fast/css/1.html']))
|
|
|