Definition at line 29 of file run_tests_test.py.
◆ test_build_test_cases_with_arguments()
def run_tests_test.RunTestsTest.test_build_test_cases_with_arguments |
( |
|
self | ) |
|
Definition at line 46 of file run_tests_test.py.
46 def test_build_test_cases_with_arguments(self):
48 {'test_command': 'test run abc'},
49 {'test_command': 'test run def -- --args'},
50 ])
51 self.assertEqual(
52 test_cases,
55 )
56
57
List[TestCase] build_test_cases(Iterable[Mapping[str, Any]] tests)
◆ test_resolve_both_package_and_packages()
def run_tests_test.RunTestsTest.test_resolve_both_package_and_packages |
( |
|
self | ) |
|
Definition at line 31 of file run_tests_test.py.
31 def test_resolve_both_package_and_packages(self):
33 self.assertEqual(
34 packages, {os.path.join(run_tests.OUT_DIR, 'abc'),
35 os.path.join(run_tests.OUT_DIR, 'def')}
36 )
37
Set[str] resolve_packages(Iterable[Mapping[str, Any]] tests)
◆ test_resolve_package_make_symbolic_link()
def run_tests_test.RunTestsTest.test_resolve_package_make_symbolic_link |
( |
|
self | ) |
|
Definition at line 38 of file run_tests_test.py.
38 def test_resolve_package_make_symbolic_link(self):
39 Path(os.path.join(run_tests.OUT_DIR,
'abc-0.far')).touch()
41 {'package': 'abc-0.far'},
42 ])
43 self.assertEqual(packages, {os.path.join(run_tests.OUT_DIR, 'abc.far')})
44 self.assertTrue(os.path.islink(os.path.join(run_tests.OUT_DIR, 'abc.far')))
45
The documentation for this class was generated from the following file: