-
Notifications
You must be signed in to change notification settings - Fork 844
Closed
Description
In #2467 , we (@Mscht and @geppi) first noticed that a few tests we would've expected to run and fail... aren't.
In #2491 (comment) I dig further, and here's what I found:
About the reason the CI doesn't run these tests, I think it's because
PyCOMTestis a level 2 testwhilst only level 1 tests are run on the CIpywin32/com/win32com/test/testall.py
Lines 179 to 191 in 03e65bc
custom_test_cases = [ # Level 1 tests. [], # Level 2 tests. [ PyCOMTest, PippoTest, ], # Level 3 tests [], # Level 4 tests. [], ] pywin32/win32/scripts/pywin32_testall.py
Lines 87 to 93 in 03e65bc
# win32com maybes = [ os.path.join(directory, "win32com", "test", "testall.py") for directory in [os.path.join(project_root, "com")] + site_packages ] extras = remains + ["1"] # only run "level 1" tests in CI find_and_run(maybes, extras)
As @mhammond says:
That seems like a decision which aged poorly :)
Let's see if we can get more tests running on the CI. I'm opening this issue to centralize conversation around this and track blockers, progress, solutions, etc.