Salome HOME
style: black format
[tools/sat.git] / test / test_sat5_0 / config / test_option_value.py
index 50a7d847ffe389462254cffb17ef684ae67d8dd1..5557fc0f40db71fe243d3050b816b812ca3db253 100755 (executable)
@@ -1,5 +1,5 @@
 #!/usr/bin/env python
-#-*- coding:utf-8 -*-
+# -*- coding:utf-8 -*-
 
 #  Copyright (C) 2010-2018  CEA/DEN
 #
@@ -25,9 +25,10 @@ import unittest
 from src.salomeTools import Sat
 from unittestpy.tools import outRedirection
 
+
 class TestCase(unittest.TestCase):
     """sat config --value"""
-    
+
     def test_010(self):
         # Test the display of the right value of "sat config -v VARS.hostname"
         OK = "KO"
@@ -37,7 +38,7 @@ class TestCase(unittest.TestCase):
 
         # The command to test
         sat = Sat()
-        sat.config('-v VARS.hostname')
+        sat.config("-v VARS.hostname")
 
         # stop output redirection
         my_out.end_redirection()
@@ -58,7 +59,7 @@ class TestCase(unittest.TestCase):
 
         # The command to test
         sat = Sat()
-        sat.config('-l')
+        sat.config("-l")
 
         # stop output redirection
         my_out.end_redirection()
@@ -70,7 +71,7 @@ class TestCase(unittest.TestCase):
         if "ERROR" not in res:
             OK = "OK"
         self.assertEqual(OK, "OK")
-    
+
     """    
     def test_030(self):
         # Test the exception when salomeTools.pyconf has errors           
@@ -101,9 +102,10 @@ class TestCase(unittest.TestCase):
             shutil.copyfile(salomeToolspyconfPath_save, salomeToolspyconfPath)
             os.remove(salomeToolspyconfPath_save)
         self.assertEqual(OK, "OK")
-    """       
-        
+    """
+
+
 # test launch
-if __name__ == '__main__':
+if __name__ == "__main__":
     unittest.main()
     pass