GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — devstack/scripts/test_lpb.py at docs · lpb-stack/devstack

Expand file tree

/

test_lpb.py

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
45 lines (35 loc) · 1.47 KB
/

test_lpb.py

Copy path

File metadata and controls

45 lines (35 loc) · 1.47 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/usr/bin/env python3
"""lpb.py test suite — entry point.
The suite is split per concern, one file per area (all in scripts/):
test_lpb_basic.py — lifecycle commands, run modes, URL building
test_lpb_tags.py — image tag selection + image resolution
test_lpb_selfupdate.py — lpb --update (launcher self-update)
test_lpb_ssh.py — SSH mode (key auto-detect, password auth)
test_lpb_lemonade.py — unified setup preflight (all modes) + lpb setup/doctor
test_lpb_regression.py — structural guards, env files, cmd_* regression
tests, mutation tests
Shared mocks + module loader: testharness.py
Run this file for the full suite (original test order preserved:
regression guards first, then behavioral), or any sub-file directly.
"""
from __future__ import annotations
import sys
from testharness import run_lpb_suite
from test_lpb_basic import TESTS as BASIC_TESTS
from test_lpb_tags import TESTS as TAG_TESTS
from test_lpb_selfupdate import TESTS as SELFUPDATE_TESTS
from test_lpb_ssh import TESTS as SSH_TESTS
from test_lpb_lemonade import TESTS as LEMONADE_TESTS
from test_lpb_regression import TESTS as REGRESSION_TESTS
TESTS = [
# regression guards first (fast, structural)
*REGRESSION_TESTS,
# behavioral
*BASIC_TESTS,
*TAG_TESTS,
*SELFUPDATE_TESTS,
*SSH_TESTS,
*LEMONADE_TESTS,
]
if __name__ == "__main__":
sys.exit(run_lpb_suite("lpb.py test suite (mocked podman/docker)", TESTS))
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.