Skip to content

Commit bf7997c

Browse files
authored
Skipping CAB extract test in GitHub Actions (#937)
1 parent 4f532e7 commit bf7997c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/test_extractor.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,9 @@ class TestExtractFileCab(TestExtractorBase):
146146
def setup_method(self):
147147
download_file(VMWARE_CAB, os.path.join(self.tempdir, "test.cab"))
148148

149-
@unittest.skipUnless(
150-
os.getenv("ACTIONS") != "1", "Skipping tests that cannot pass in github actions"
149+
@pytest.mark.skipif(
150+
os.getenv("ACTIONS") == "1",
151+
reason="Skipping tests that cannot pass in github actions",
151152
)
152153
@pytest.mark.asyncio
153154
async def test_extract_file_cab(self):

0 commit comments

Comments
 (0)