X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=utils%2Fpython%2Fctftestsuite%2Fstress.py;fp=utils%2Fpython%2Fctftestsuite%2Fstress.py;h=c6c8f87ce91320e9b726dd09c870d1e9fe06573e;hb=2ffbd36294fd31d2f51928c6ebb62252b1a0c39d;hp=6f85ec5dbd6bfad388fced529d821c3749a26730;hpb=c680269c4e297e58e0fb48a7c5364da46350761d;p=ctf-testsuite.git diff --git a/utils/python/ctftestsuite/stress.py b/utils/python/ctftestsuite/stress.py index 6f85ec5..c6c8f87 100644 --- a/utils/python/ctftestsuite/stress.py +++ b/utils/python/ctftestsuite/stress.py @@ -4,7 +4,7 @@ import sys import os -class MetadataTest: +class MetadataTestAssitant: BASIC_PROLOGUE = \ '''/* CTF 1.8 */ @@ -48,7 +48,7 @@ trace { # validate size if args.size < 1: - MetadataTest._perror('wrong size: {}'.format(args.size)) + MetadataTestAssitant._perror('wrong size: {}'.format(args.size)) return args @@ -79,7 +79,8 @@ trace { def _do_action(self): if self._action not in self._actions: - MetadataTest._perror('invalid action: "{}"'.format(self._action)) + msg = 'invalid action: "{}"'.format(self._action) + MetadataTestAssitant._perror(msg) self._actions[self._action]()