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
| | #! /usr/bin/env python3
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
# test/smoke/smoke.py - Python smoke tests
#
# Copyright Red Hat
# Author: David Gibson <david@gibson.dropbear.id.au>
import exeter
@exeter.test
def py_test_libraries() -> None:
"""Check test in Python have access to the libraries we need"""
import tunbridge
import tasst
print(f"Imported exeter: {exeter}")
print(f"Imported tunbridge: {tunbridge}")
print(f"Imported tasst: {tasst}")
if __name__ == '__main__':
exeter.main()
|