Home | History | Annotate | Download | only in ui
      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 
      5 from ui import spy_project
      6 from tvcm import module_test_case
      7 
      8 
      9 def load_tests(_, _2, _3):
     10   project = spy_project.SpyProject()
     11   suite = module_test_case.DiscoverTestsInModule(
     12       project,
     13       project.spy_path)
     14   assert suite.countTestCases() > 0, 'Expected to find at least one test.'
     15   return suite
     16