Skip to main content

A simple modern VM runner

Project description

test.thing

WIP.

test.thing doesn't have a stable API or CLI.

Goals.

  • one-file copypastelib
  • easy to hook up to pytest
  • future-oriented, built on systemd features in the guest (credentials, ssh-over-vsock, etc)
    • might limit usefulness for testing older OSes but we can add workarounds as required
  • works without networking configured in guest
  • supporting the existing features of cockpit-bots

Try it

You can pip install test.thing which will put an executable called tt in your path. This is sort of like the existing cockpit-bots vm-run. If you want to test Cockpit images, you can do something like:

  tt \
      -v \
      -L 9091:127.0.0.1:9090 \
      -s cockpit.socket \
      ~/.cache/cockpit-images/arch-xxx.qcow2

You can also take a look at test/test_example.py and run TEST_IMAGE=/path/to/image.qcow2 pytest. This was originally tested with the examples images from composefs-rs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

test_thing-0.3.3.tar.gz (26.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

test_thing-0.3.3-py3-none-any.whl (26.6 kB view details)

Uploaded Python 3

File details

Details for the file test_thing-0.3.3.tar.gz.

File metadata

  • Download URL: test_thing-0.3.3.tar.gz
  • Upload date:
  • Size: 26.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for test_thing-0.3.3.tar.gz
Algorithm Hash digest
SHA256 23852231c8c95422d31e601e198fa570c33c94a38db64e64959b27bcf0ab9e87
MD5 013a3bb5a71c5a823847f2e3d17f6755
BLAKE2b-256 9a9b7cb9765d32de1db53e458958c3f42c42197c32fe125fee38d312092093db

See more details on using hashes here.

File details

Details for the file test_thing-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: test_thing-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 26.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for test_thing-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 be221e3495ec1cd600839748101e1c7b51b31bfc4ca6727d1df9ecf2ff86b563
MD5 a0bfa9d2acca51c4b85a068138f28caf
BLAKE2b-256 347789ef5c9ea37d0921eb540550b643c401229e7b2fecb657745ca717654a78

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page