public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
cbf77ad9e9f5a052e7c798dd72cda4d2026e5493 blob 532 bytes (raw)

 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()
debug log:

solving cbf77ad9 ...
found cbf77ad9 in https://archives.passt.top/passt-dev/20251002075708.461931-2-david@gibson.dropbear.id.au/

applying [1/1] https://archives.passt.top/passt-dev/20251002075708.461931-2-david@gibson.dropbear.id.au/
diff --git a/test/smoke/smoke.py b/test/smoke/smoke.py
new file mode 100755
index 00000000..cbf77ad9

Checking patch test/smoke/smoke.py...
Applied patch test/smoke/smoke.py cleanly.

index at:
100755 cbf77ad9e9f5a052e7c798dd72cda4d2026e5493	test/smoke/smoke.py

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).