| OLD | NEW |
| 1 # Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 from telemetry.web_components import web_components_project | 5 from ui import spy_project |
| 6 from tvcm import module_test_case | 6 from tvcm import module_test_case |
| 7 | 7 |
| 8 | 8 |
| 9 def load_tests(_, _2, _3): | 9 def load_tests(_, _2, _3): |
| 10 project = web_components_project.WebComponentsProject() | 10 project = spy_project.SpyProject() |
| 11 suite = module_test_case.DiscoverTestsInModule( | 11 suite = module_test_case.DiscoverTestsInModule( |
| 12 project, | 12 project, |
| 13 project.telemetry_path) | 13 project.spy_path) |
| 14 assert suite.countTestCases() > 0, 'Expected to find at least one test.' | 14 assert suite.countTestCases() > 0, 'Expected to find at least one test.' |
| 15 return suite | 15 return suite |
| OLD | NEW |