mirror of
https://github.com/onyx-and-iris/vban-cmd-python.git
synced 2026-04-18 04:53:31 +00:00
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:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user