Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(14)  |  Call(14)  |  Derive(0)  |  Import(0)

src/b/l/BlinkyTape-HEAD/TestProgram_Beaglebone/test_strip.py   BlinkyTape(Download)
 
    self.i.DisplayMessage("Off current: %0.2f < %0.2f < %0.2f." % (MIN_OFF_CURRENT, current, MAX_OFF_CURRENT))
    self.StoreTestResultData("%0.2f" % current)
 
    result = current > MIN_OFF_CURRENT and current < MAX_OFF_CURRENT
 
    self.i.DisplayMessage("Limited current: %0.2f < %0.2f < %0.2f." % (MIN_LIMITED_CURRENT, current, MAX_LIMITED_CURRENT))
    self.StoreTestResultData("%0.2f" % current)
 
    result = current > MIN_LIMITED_CURRENT and current < MAX_LIMITED_CURRENT
 
    self.i.DisplayMessage("Red LEDs current: %0.2f < %0.2f < %0.2f." % (MIN_RED_CURRENT, current, MAX_RED_CURRENT))
    self.StoreTestResultData("%0.2f" % current)
 
    self.assertTrue(current > MIN_RED_CURRENT
 
    self.i.DisplayMessage("White LEDs current: %0.2f < %0.2f < %0.2f." % (MIN_WHITE_CURRENT, current, MAX_WHITE_CURRENT))
    self.StoreTestResultData("%0.2f" % current)
 
    self.assertTrue(current > MIN_WHITE_CURRENT

src/b/l/BlinkyTape-HEAD/TestProgram_Beaglebone/test_functional.py   BlinkyTape(Download)
 
    self.i.DisplayMessage("DUT disconnectd current: %0.2f < %0.2f < %0.2f." % (MIN_OFF_CURRENT, current, MAX_OFF_CURRENT))
    self.StoreTestResultData("%0.2f" % current)
 
    self.assertTrue(current> MIN_OFF_CURRENT
 
    self.i.DisplayMessage("DUT connected current: %0.2f < %0.2f < %0.2f." % (MIN_CONNECTED_CURRENT, current, MAX_CONNECTED_CURRENT))
    self.StoreTestResultData("%0.2f" % current)
 
    self.assertTrue(current > MIN_CONNECTED_CURRENT
 
    self.i.DisplayMessage("LEDs connected current: %0.2f < %0.2f < %0.2f." % (MIN_CONNECTED_CURRENT, current, MAX_CONNECTED_CURRENT))
    self.StoreTestResultData("%0.2f" % current)
 
    self.assertTrue(current > MIN_CONNECTED_CURRENT
 
    self.i.DisplayMessage("Red LEDs current: %0.2f < %0.2f < %0.2f." % (MIN_RED_CURRENT, current, MAX_RED_CURRENT))
    self.StoreTestResultData("%0.2f" % current)
 
    self.assertTrue(current > MIN_RED_CURRENT
 
    self.i.DisplayMessage("Green LEDs current: %0.2f < %0.2f < %0.2f." % (MIN_GREEN_CURRENT, current, MAX_GREEN_CURRENT))
    self.StoreTestResultData("%0.2f" % current)
 
    self.assertTrue(current > MIN_GREEN_CURRENT

src/b/l/BlinkyTape-HEAD/TestProgram_Beaglebone/test_power_on.py   BlinkyTape(Download)
 
    self.i.DisplayMessage("Off current: %0.2f < %0.2f < %0.2f." % (MIN_OFF_CURRENT, current, MAX_OFF_CURRENT))
    self.StoreTestResultData("%0.2f" % current)
 
    result = current > MIN_OFF_CURRENT and current < MAX_OFF_CURRENT
 
    self.i.DisplayMessage("Limited current: %0.2f < %0.2f < %0.2f." % (MIN_LIMITED_CURRENT, current, MAX_LIMITED_CURRENT))
    self.StoreTestResultData("%0.2f" % current)
 
    result = current > MIN_LIMITED_CURRENT and current < MAX_LIMITED_CURRENT
 
    self.i.DisplayMessage("Full current: %0.2f < %0.2f < %0.2f." % (MIN_OPERATING_CURRENT, current, MAX_OPERATING_CURRENT))
    self.StoreTestResultData("%0.2f" % current)
 
    result = current > MIN_OPERATING_CURRENT and current < MAX_OPERATING_CURRENT