File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ def generated_test():
1515 time .sleep (0.5 )
1616 client_function ()
1717 th .join ()
18- return True
18+ return
1919 return generated_test
2020
2121PORT_NAME = r"\RPC Control\PythonForWindowsTestPort"
Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ def test_crypt_obj():
227227 # TODO: Need some better ideas
228228
229229def test_certificate_from_store ():
230- return windows .crypto .CertificateStore .from_system_store ("Root" )
230+ assert windows .crypto .CertificateStore .from_system_store ("Root" )
231231
232232
233233def test_sign_verify (rawcert , rawpfx ):
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ def test_current_process_ppid(self):
2525 assert myself .ppid == windows .current_process .ppid
2626
2727 def test_get_current_process_peb (self ):
28- return windows .current_process .peb
28+ assert windows .current_process .peb
2929
3030 def test_get_current_process_modules (self ):
3131 # Use module filename because this executable can be:
You can’t perform that action at this time.
0 commit comments