d5279242cf99 — Oben Sonne 10 years ago
server: initial player control session tests
1 files changed, 21 insertions(+), 0 deletions(-)

M server/src/tests/test_bongsession.py
M server/src/tests/test_bongsession.py +21 -0
@@ 401,6 401,27 @@ def test_badrepeat():
     p.stop()
     s.stop(expecterrors=True)
 
+def test_playercontrol():
+    """Session: player control"""
+
+    s, c = startandconnectserver()
+    p = startandconnectbong(s, c)
+
+    c.snd("""
+        - setvolume
+        - level: 33
+    """)
+    c.exp("""
+        - updatevolume
+        - level: 33
+    """)
+
+    # TODO: more of these
+
+    c.disconnect()
+    p.stop()
+    s.stop()
+
 def test_library():
     """Session: bong library"""
     # TODO