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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
 
#! /usr/bin/env avocado-runner-avocado-classless

"""
Self tests for avocado-classless plugins
"""

from avocado_classless.manifest import manifest_add
from avocado_classless.test import test


@test
def trivial():
    pass


@test
def assert_true():
    assert True


# Check re-registering a function under a different name
manifest_add(__name__, "trivial2", trivial)

debug log:

solving 26d02378 ...
found 26d02378 in https://archives.passt.top/passt-dev/20230627025429.2209702-7-david@gibson.dropbear.id.au/

applying [1/1] https://archives.passt.top/passt-dev/20230627025429.2209702-7-david@gibson.dropbear.id.au/
diff --git a/test/avocado_classless/selftests.py b/test/avocado_classless/selftests.py
new file mode 100644
index 00000000..26d02378

Checking patch test/avocado_classless/selftests.py...
Applied patch test/avocado_classless/selftests.py cleanly.

index at:
100644 26d0237806fe3c5bf06549c1366a6a0a385f3094	test/avocado_classless/selftests.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).