PYPETEST(1)
π 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 π«Ά
-idId(str,1); default=0β the script id. lowkey every script has one.-handleSelf(self,1) β a handle to self. main character needs to know who she is π-disabledDisabled(bool,1); default=0β disables execution and piping. not me flipping this to1when I want her to sit down and be quiet π-nameTestName(str,1); default=Noneβ the name of the test.-iTestInput(test,1) β log. yes bestie, the argument is literally called-iand the label isTestInput, we don't make the rules.-conditionCondition(str,1) in['equalto', 'differentfrom', 'greaterthan', 'lessthan', 'nonnone']; default=Noneβ the condition type. five flavours, pick your fighter π₯-valueConditionValue(str,1); default=Noneβ the condition value. the other half of the condition she's comparing against.-typeConditionType(str,1) in['str', 'int', 'float', 'bool']; default=Noneβ the condition type. yes,-conditionis 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-conditionand-typedefault toNone, 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 π
-idId(str,1); default=0β the script id. yes she shows up in the input list AND the output list, she contains multitudes β¨-handleSelf(self,1) β a handle to self. also both. queen behaviour π-logPypeTestLog(str,1) β the log. this is the receipts, bestie, read them.
π§ fun fact:-idand-handlegenuinely 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
- ubuntu stonking: vmtk 1.5.0+dfsg1-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms