File: __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-- 246 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
# -*- coding: utf-8 -*-

import os

import pytest

from pyxs import Client

# XXX we don't always need 'SU'.
_virtualized = not os.path.exists('/dev/xen') or not Client.SU

virtualized = pytest.mark.skipif(_virtualized, reason="not virtualized")