INNER CODE UNIT · Python

run_tests

trinodb/trino · .github/bin/build-matrix-schedule-aware.py:427

def run_tests(_, leftover_args: list[str]):
    sys.argv = [sys.argv[0], *leftover_args]
    unittest.main()


class TestBuild(unittest.TestCase):
    maxDiff = None

    def test_load_schedule_configs(self):
        configs = textwrap.dedent("""
                                 - { modules: [a], profile: b }
                                 - { modules: [a], profile: c }
                                 - modules: [[d, m, n], o]
                                 - modules: [e]
                                   profile: f
                                   when:
                                     scheduled: nightly
                                 - modules: [h]

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…