Skip to content

Commit

Permalink
test: skip windows installer test if win32api cannot be imported (#214)
Browse files Browse the repository at this point in the history
Signed-off-by: Charles Moore <[email protected]>
  • Loading branch information
moorec-aws authored Mar 14, 2024
1 parent 4e1f310 commit 98610c2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/integ/installer/test_windows_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@

import pytest

import win32api

try:
import win32api
except ImportError:
pytest.skip("win32api not available", allow_module_level=True)
import win32net

import deadline.client.config.config_file
Expand Down

0 comments on commit 98610c2

Please sign in to comment.