/
__init__.py
28 lines (22 loc) · 1.04 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
"""
All tests for pywbem.
There are different kinds of tests, organized by subdirectory:
* unittest: Module-level tests.
* functiontest: Mock the client at the HTTP level and execute operations
against the WBEMConnection class.
* end2endtest: Run against a real WBEM server.
* manualtest: Some scripts that are typically run against real WBEM servers.
In addition, the following subdirectories exist that do not contain tests:
* dtd: The DMTF CIM-XML DTD, used by some CIM-XML related unit tests.
* schema: DMTF CIM Schema, used by some MOF compiler related unit tests.
* server_definitions: Definitions of real WBEM servers to test against,
used by end2end tests.
* profiles: Definition of attributes of DMTF management profiles, used by
some testcases in end2end tests.
"""
from __future__ import absolute_import, print_function
import os
from .utils import import_installed
pywbem = import_installed('pywbem') # pylint: disable=invalid-name
print("Testing pywbem version {0} from {1}".
format(pywbem.__version__, os.path.dirname(pywbem.__file__)))