def __init__(self, core): AbstractPlugin.__init__(self, core) AbstractInfoWidget.__init__(self) lines = resource_stream(__name__, "config/tips.txt").readlines() line = random.choice(lines) self.section = line[:line.index(':')] self.tip = line[line.index(':') + 1:].strip() self.disable = 0
def __init__(self): AbstractInfoWidget.__init__(self) self.active_threads = 0 self.instances = 0 self.planned = 0 self.RPS = 0 self.selfload = 0 self.time_lag = 0 self.planned_rps_duration = 0
def __init__(self, sender): AbstractInfoWidget.__init__(self) self.krutilka = ConsoleScreen.krutilka() self.owner = sender self.ammo_progress = 0 self.eta_file = None info = self.owner.get_info() if info: self.ammo_count = int(info.ammo_count) self.test_duration = int(info.duration) else: self.ammo_count = 1 self.test_duration = 1
def __init__(self, sender): AbstractInfoWidget.__init__(self) self.owner = sender self.instances = 0 self.planned = 0 self.RPS = 0 self.selfload = 0 self.time_lag = 0 self.planned_rps_duration = 0 info = self.owner.get_info() if info: self.instances_limit = int(info.instances) self.ammo_count = int(info.ammo_count) else: self.instances_limit = 1 self.ammo_count = 1
def __init__(self, pandora): AbstractInfoWidget.__init__(self) self.krutilka = ConsoleScreen.krutilka() self.owner = pandora self.rps = 0
def __init__(self, sender): AbstractInfoWidget.__init__(self) self.owner = sender
def __init__(self, jmeter): AbstractInfoWidget.__init__(self) self.krutilka = ConsoleScreen.krutilka() self.jmeter = jmeter self.active_threads = 0 self.RPS = 0