mirror of
https://github.com/valitydev/yandex-tank.git
synced 2024-11-08 19:23:54 +00:00
15 lines
301 B
Python
15 lines
301 B
Python
'''
|
|
Ammo formatters
|
|
'''
|
|
|
|
|
|
class Stpd(object):
|
|
'''
|
|
STPD ammo formatter
|
|
'''
|
|
def __init__(self, ammo_factory):
|
|
self.af = ammo_factory
|
|
|
|
def __iter__(self):
|
|
return ("%s %s %s\n%s\n" % (len(missile), timestamp, marker, missile) for timestamp, marker, missile in self.af)
|