From 59a5097fdc12aa1a7475db883b62c42b15643180 Mon Sep 17 00:00:00 2001 From: Matt Mets Date: Thu, 8 Aug 2013 01:03:34 +0000 Subject: [PATCH] Change menu prompt, widen current specs a bit --- TestRig/TestProgram/Menu.py | 2 +- TestRig/TestProgram/test_functional.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/TestRig/TestProgram/Menu.py b/TestRig/TestProgram/Menu.py index 8b3ebe7..bb28371 100644 --- a/TestRig/TestProgram/Menu.py +++ b/TestRig/TestProgram/Menu.py @@ -101,7 +101,7 @@ def Display(self): """ Run an interactive menu """ while True: self.DrawMenu() - s = raw_input("type a selection and press enter ") + s = raw_input("Type a selection or press enter to run all tests") try: if len(s) == 0: n = 0 diff --git a/TestRig/TestProgram/test_functional.py b/TestRig/TestProgram/test_functional.py index 54ca6b5..b70f2a6 100644 --- a/TestRig/TestProgram/test_functional.py +++ b/TestRig/TestProgram/test_functional.py @@ -87,8 +87,8 @@ def test_030_dutConnected(self): def test_040_dutConnectedCurrent(self): self.i.DisplayMessage("Checking connected current...") - MIN_CONNECTED_CURRENT = 25 - MAX_CONNECTED_CURRENT = 36 + MIN_CONNECTED_CURRENT = 20 + MAX_CONNECTED_CURRENT = 40 current = self.testRig.measure('DUT_CURRENT') @@ -102,8 +102,8 @@ def test_040_dutConnectedCurrent(self): def test_045_LedsConnectedCurrent(self): self.i.DisplayMessage("Checking LEDs connected current...") - MIN_CONNECTED_CURRENT = 35 - MAX_CONNECTED_CURRENT = 45 + MIN_CONNECTED_CURRENT = 30 + MAX_CONNECTED_CURRENT = 50 self.testRig.enableRelay('EN_LED_OUT')