Source code for poco.drivers.cocosjs.test.simple

# coding=utf-8

import time
import unittest

from poco.drivers.cocosjs import CocosJsPoco


[docs]class SimpleTest(unittest.TestCase):
[docs] @classmethod def setUpClass(cls): cls.poco = CocosJsPoco("ws://localhost:15003")
[docs] @classmethod def tearDownClass(cls): time.sleep(1)
def test_dump(self): print(self.poco.agent.hierarchy.dump())