PYPETEST(1)

πŸ“¦ version 1.5.0, in ubuntu stonking

πŸ‘‘ NAME πŸ‘‘

okay so bestie, gather round πŸ’– this is pypetest β€” the vmtk script that goes by exactly that name. no aliases, no nicknames, she is simply pypetest. periodt. πŸ’…


✨ DESCRIPTION ✨

fr fr, here's the vibe: Automatic piping is a whole thing, and pypetest does its own Parsing options moment. iconic behaviour honestly.

so what does she actually DO? 🌸

pypetest : tests a script property against a condition

that's it, that's the whole mission. you hand her a property, you hand her a condition, and she tells you if the property is serving. no cap. πŸ¦‹


πŸŽ€ Input arguments πŸŽ€

these are the things you feed her on the way in, bestie 🫢

  • -id Id (str,1); default=0 β€” the script id. lowkey every script has one.
  • -handle Self (self,1) β€” a handle to self. main character needs to know who she is πŸ’…
  • -disabled Disabled (bool,1); default=0 β€” disables execution and piping. not me flipping this to 1 when I want her to sit down and be quiet 😭
  • -name TestName (str,1); default=None β€” the name of the test.
  • -i TestInput (test,1) β€” log. yes bestie, the argument is literally called -i and the label is TestInput, we don't make the rules.
  • -condition Condition (str,1) in ['equalto', 'differentfrom', 'greaterthan', 'lessthan', 'nonnone']; default=None β€” the condition type. five flavours, pick your fighter πŸ”₯
  • -value ConditionValue (str,1); default=None β€” the condition value. the other half of the condition she's comparing against.
  • -type ConditionType (str,1) in ['str', 'int', 'float', 'bool']; default=None β€” the condition type. yes, -condition is also described as "condition type" in the original and I am simply relaying the facts, bestie, I do not make the lore πŸ“–
⚠️ heads up: both -condition and -type default to None, so if you're not passing them, you're getting the vibes-only experience. whichever one you meant, pass it on purpose. πŸ™ˆ

🌸 Output arguments 🌸

what she hands back to you on the way out πŸ’œ

  • -id Id (str,1); default=0 β€” the script id. yes she shows up in the input list AND the output list, she contains multitudes ✨
  • -handle Self (self,1) β€” a handle to self. also both. queen behaviour πŸ‘‘
  • -log PypeTestLog (str,1) β€” the log. this is the receipts, bestie, read them.

🧚 fun fact: -id and -handle genuinely appear in both the input arguments and the output arguments up there. that's not a typo from me, that's just how she's built. iykyk.

that's the whole manual, bestie β€” go forth and test those script properties against those conditions, you're literally so good at this 🌈

and that's a wrap on pypetest 1.5, brought to you from April 2026 πŸ’– mwah, bye πŸŽ€

πŸ“¦ where this page comes from