Initial commit

This commit is contained in:
Alex committed 2026-11-02 22:54:14 +08:00
commit 57fc3525eb
7311 files changed
+1291398

No files matched your search

@@ -0,0 +1,19 @@
# Tests for win32ts module
import unittest
import win32ts
class Win32TsTestCase(unittest.TestCase):
def test_is_remote_session(self):
ret = win32ts.WTSQuerySessionInformation(
win32ts.WTS_CURRENT_SERVER_HANDLE,
win32ts.WTS_CURRENT_SESSION,
win32ts.WTSIsRemoteSession,
)
self.assertIsInstance(ret, bool)
if __name__ == "__main__":
unittest.main()