mirror of
https://github.com/TheGreyDiamond/Enlight.git
synced 2026-03-31 14:50:24 +02:00
Added unittesting
This commit is contained in:
Binary file not shown.
@@ -266,3 +266,4 @@ def testOnlyServer():
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
testOnlyServer()
|
testOnlyServer()
|
||||||
|
|
||||||
9
testing/sessionDiscoveryTesting.py
Normal file
9
testing/sessionDiscoveryTesting.py
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import unittest
|
||||||
|
import code.session
|
||||||
|
|
||||||
|
class NamesTestCase(unittest.TestCase):
|
||||||
|
|
||||||
|
def test_first_last_name(self):
|
||||||
|
testSession = Code.session.enlightSession("TestSession", role = Code.session.HOST)
|
||||||
|
testSession.initConnection()
|
||||||
|
self.assertEqual(testSession.getSessionMembers(), [])
|
||||||
Reference in New Issue
Block a user