forked from mtusi2026/mtusi2026lab7
test(security): automate lifecycle and login budget measurements
This commit is contained in:
@@ -21,6 +21,8 @@ os.environ.setdefault("no_proxy", "localhost,127.0.0.1")
|
||||
from scripts.stand import BASE, ROOT, actor, auth, command, compose, ready
|
||||
|
||||
PREFIX = """import io,json,hashlib,time,urllib.request
|
||||
from src.operator_runtime import prepare_key
|
||||
prepare_key()
|
||||
from uuid import UUID,uuid4
|
||||
from psycopg.types.json import Jsonb
|
||||
from src.pipeline import database,broker,envelope,STREAM,GROUP
|
||||
@@ -32,6 +34,9 @@ db,store,queue=database(),ObjectStore(),broker()
|
||||
|
||||
|
||||
def inside(code):
|
||||
from scripts.operator_task import prepare
|
||||
|
||||
prepare()
|
||||
cid = compose("ps", "-q", "controller").split()[0]
|
||||
return json.loads(
|
||||
command(
|
||||
|
||||
Reference in New Issue
Block a user