Files
hakril-PythonForWindows/pytesting/test_winproxy.py
T
2017-09-06 18:42:54 +02:00

13 lines
284 B
Python

import pytest
import windows
import windows.generated_def as gdef
from pfwtest import *
pytestmark = pytest.mark.usefixtures('check_for_gc_garbage')
def test_createfileA_fail():
with pytest.raises(WindowsError) as ar:
windows.winproxy.CreateFileA("NONEXISTFILE.FILE")