We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ef1548 commit 8e8d54dCopy full SHA for 8e8d54d
tests/test_magic.py
@@ -1,8 +1,15 @@
1
-from pycaw.magic import MagicApp
+from pycaw.magic import MagicApp, MagicManager, MagicSession
2
3
4
class TestMagic:
5
def test_init(self):
6
app_execs = {"msedge.exe"}
7
magic = MagicApp(app_execs)
8
assert magic.app_execs == app_execs
9
+
10
11
+class TestMagicManager:
12
+ def test_magic_session(self):
13
+ assert MagicManager.MagicSessionConfigured is None
14
+ MagicManager.magic_session(MagicSession)
15
+ assert MagicManager.MagicSessionConfigured == (MagicSession, (), {})
0 commit comments