protocol: Code clean up 52/259052/1
authorWoochanlee <wc0917.lee@samsung.com>
Mon, 31 May 2021 09:23:23 +0000 (18:23 +0900)
committerWoochanlee <wc0917.lee@samsung.com>
Mon, 31 May 2021 09:23:23 +0000 (18:23 +0900)
Fix typo.
Delete whitespace.

Change-Id: If9c919ac38de2dd76df9160bee747d94af8c05ec

protocol/examples/python/README
protocol/examples/python/legacySamples/sample02.py
protocol/examples/python/legacySamples/sample03.py
protocol/examples/python/legacySamples/sample04.py

index 03199a7f3d034c497c614747622f4cdeaee50af1..5761fd1e33d500efb6477a6e0629213c9bd7be5f 100644 (file)
@@ -2,9 +2,9 @@
 
 python3 -m venv v
 
-source v/bin/active
+source v/bin/activate
 
-pip3 install -r requiements.txt
+pip3 install -r requirements.txt
 
 ./gen.sh
 
index 13d2b4e8455057c55b138546a780c11a96e05790..92d1d1e12ec7c8a1441f77028681b8c925002ed2 100644 (file)
@@ -110,7 +110,6 @@ def set_text(stub, text):
     if foundId != None:
       clickById(stub, foundId)
 
-
 def run():
     with grpc.insecure_channel('127.0.0.1:50051') as channel:
         stub = aurum_pb2_grpc.BootstrapStub(channel)
index eaf9a3adbe7593d93e2c1d919cf9548fc5c8ac53..711874b46ea060f85499b3c5b351b26ec02b6817 100644 (file)
@@ -100,7 +100,6 @@ def set_text(stub, text):
     #if foundId != None:
     #  clickById(stub, foundId)
 
-
 def run():
     with grpc.insecure_channel('127.0.0.1:50051') as channel:
         stub = aurum_pb2_grpc.BootstrapStub(channel)
index d504fdd56d53c265712d8f210cd4451fa783fc72..09fc14eea1b04a9ab68e07089c43008102c2aa10 100644 (file)
@@ -111,7 +111,6 @@ def run():
         foundId = findElementByText(stub, 'Title')
         print(foundId)
         clear_text(stub, foundId)
-      
 
 #       foundId = findElementByText(stub, 'Photos')
 #       print(foundId)
@@ -121,14 +120,12 @@ def run():
 #           clickById(stub, foundId)
 
 #       time.sleep(1.35)
-        
+
 #       foundId = findElementByText(stub, 'STOP')
 #       print(foundId)
 #       if foundId != None:
 #           clickById(stub, foundId)
 
-
-    
 if __name__ == '__main__':
     logging.basicConfig()
     run()