aboutsummaryrefslogtreecommitdiff
path: root/tests/test_ctl.py
blob: 404a4300b5212db1d0c84b1201d0325dccb260d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import os
import tempfile

from tornado.testing import AsyncTestCase

from pyapd import ctl, config


class TestCtlServer(AsyncTestCase):
    def setUp(self):
        super().setUp()
        self.tempdir = tempfile.TemporaryDirectory()
        conf = config.Config('tests/data/test_config.yaml')
        conf.ctl_socket = os.path.join(self.tempdir.name, 'pyapd.sock')
        self.ctl_server = ctl.CtlServer(conf)

    def test_nothing(self):
        pass