fix workflows
This commit is contained in:
parent
3eb73f28ea
commit
20bf0d4459
2 changed files with 1 additions and 3 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -2,8 +2,6 @@ name: Release
|
|||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
|
|
|||
|
|
@ -146,7 +146,7 @@ class BoundaryExportTests(unittest.TestCase):
|
|||
patch("nte_history_exporter.live_capture.libpcap.sys.platform", "win32"),
|
||||
patch("nte_history_exporter.live_capture.libpcap._windows_npcap_directory", return_value=system_dir),
|
||||
patch("nte_history_exporter.live_capture.libpcap.Path.is_dir", return_value=True),
|
||||
patch("nte_history_exporter.live_capture.libpcap.os.add_dll_directory", return_value=Mock()),
|
||||
patch("nte_history_exporter.live_capture.libpcap.os.add_dll_directory", return_value=Mock(), create=True),
|
||||
patch(
|
||||
"nte_history_exporter.live_capture.libpcap.ctypes.CDLL",
|
||||
side_effect=[OSError("system missing"), loaded],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue