add pre-commit hook

keep tests random
print kind.name to pytest output

add genbadge to dev dependencies

add test badges to readme
This commit is contained in:
onyx-and-iris
2022-04-28 11:34:48 +01:00
parent f55d86514c
commit 596e7465fb
4 changed files with 43 additions and 15 deletions

View File

@@ -2,10 +2,10 @@ from dataclasses import dataclass
import vbancmd
from vbancmd import kinds
import random
import sys
# let's keep things random
# kind_id = random.choice(("basic", "banana", "potato"))
kind_id = "banana"
kind_id = random.choice(("basic", "banana", "potato"))
opts = {
"ip": "codey.local",
@@ -39,6 +39,7 @@ data = Data()
def setup_module():
print(f"\nRunning tests for kind [{data.name}]\n", file=sys.stdout)
tests.login()
tests.apply_profile("blank")