Ejemplo n.º 1
0
 def __init__(self, sender):
     AbstractInfoWidget.__init__(self)
     self.krutilka=ConsoleScreen.krutilka()
     self.owner = sender 
     self.ammo_progress = 0
     self.ammo_count = int(self.owner.core.get_option(PhantomPlugin.SECTION, StepperWrapper.OPTION_AMMO_COUNT))
     self.test_duration = int(self.owner.core.get_option(PhantomPlugin.SECTION, StepperWrapper.OPTION_TEST_DURATION))
     self.eta_file = None
Ejemplo n.º 2
0
 def __init__(self, sender):
     AbstractInfoWidget.__init__(self)
     self.krutilka = ConsoleScreen.krutilka()
     self.owner = sender
     self.ammo_progress = 0
     self.ammo_count = int(
         self.owner.core.get_option(PhantomPlugin.SECTION,
                                    StepperWrapper.OPTION_AMMO_COUNT))
     self.test_duration = int(
         self.owner.core.get_option(PhantomPlugin.SECTION,
                                    StepperWrapper.OPTION_TEST_DURATION))
     self.eta_file = None
Ejemplo n.º 3
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 = 0
         self.test_duration = 0
Ejemplo n.º 4
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
Ejemplo n.º 5
0
 def __init__(self, uniphout):
     AbstractInfoWidget.__init__(self)
     self.krutilka = ConsoleScreen.krutilka()
     self.owner = uniphout
     self.rps = 0
Ejemplo n.º 6
0
 def __init__(self, jmeter):
     AbstractInfoWidget.__init__(self)
     self.krutilka=ConsoleScreen.krutilka()
     self.jmeter = jmeter
     self.active_threads = 0
     self.rps = 0
Ejemplo n.º 7
0
 def __init__(self, jmeter):
     AbstractInfoWidget.__init__(self)
     self.krutilka = ConsoleScreen.krutilka()
     self.jmeter = jmeter
     self.active_threads = 0
     self.rps = 0
Ejemplo n.º 8
0
 def __init__(self, uniphout):
     AbstractInfoWidget.__init__(self)
     self.krutilka = ConsoleScreen.krutilka()
     self.owner = uniphout
     self.rps = 0