File: test__init__.py

package info (click to toggle)
python-pyxs 0.4.2~git20190115.97f14313-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 328 kB
  • sloc: python: 1,196; makefile: 93
file content (12 lines) | stat: -rw-r--r-- 208 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
from __future__ import absolute_import

import pyxs

from . import virtualized


@virtualized
def test_monitor():
    with pyxs.monitor() as m:
        # FAILS!
        m.watch(b"@introduceDomain", b"token")