Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def setUpClass(cls):
check_output("./fixtures.sh")
cls.outputs = {}
for i in range(5):
ins = Inspector("runlike_fixture%d" % (i + 1), True, True)
ins.inspect()
cls.outputs[i + 1] = ins.format_cli()
def cli(container, no_name, pretty):
# TODO: -i, -t, -d as added options that override the inspection
ins = Inspector(container, no_name, pretty)
ins.inspect()
print(ins.format_cli())