X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=test%2Flog%2Flaunch_browser.py;fp=test%2Flog%2Flaunch_browser.py;h=8439ac3e9f12618c4ecca3d84ed9fd6b554ae985;hb=f9f6b3e70f68fed49762105d9ff8526b2b12b67b;hp=9a26384a47d14813eb9ebefbd2bc30dfd2539c3b;hpb=05816c80452b08d87780ab5818f0fe8b3ceedad6;p=tools%2Fsat.git diff --git a/test/log/launch_browser.py b/test/log/launch_browser.py index 9a26384..8439ac3 100644 --- a/test/log/launch_browser.py +++ b/test/log/launch_browser.py @@ -223,6 +223,24 @@ class TestLog(unittest.TestCase): # pyunit method to compare 2 str self.assertEqual(OK, "OK") + def test_option_terminal7(self): + '''Test the terminal option and option last + ''' + + OK = "KO" + + # launch the command that will write a log + sat = Sat() + + try: + sat.log('--terminal --last') + OK = "OK" + finally: + sys.stdin = sys.__stdin__ + + # pyunit method to compare 2 str + self.assertEqual(OK, "OK") + def test_option_last(self): '''Test the option --last '''