web_components_unittest.py revision 46d4c2bc3267f3f028f39e7e311b0f89aba2e4fd
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 3# found in the LICENSE file. 4 5from telemetry.web_components import web_components_project 6from tvcm import module_test_case 7 8 9def load_tests(_, _2, _3): 10 project = web_components_project.WebComponentsProject() 11 suite = module_test_case.DiscoverTestsInModule( 12 project, 13 project.telemetry_path) 14 assert suite.countTestCases() > 0, 'Expected to find at least one test.' 15 return suite 16