Commit 4eed8d4b9236c6903e7ab7aec0d4ffa68c6f66f5

Authored by Playtenders
1 parent d13e54b0

edit NBUdiscountRate

@@ -2763,6 +2763,7 @@ Get number from text by locator @@ -2763,6 +2763,7 @@ Get number from text by locator
2763 ${return_value}= get_text ${locator} 2763 ${return_value}= get_text ${locator}
2764 ${return_value}= split_NBU ${return_value} 2764 ${return_value}= split_NBU ${return_value}
2765 ${return_value}= Convert To Number ${return_value} 2765 ${return_value}= Convert To Number ${return_value}
  2766 + ${return_value}= division_hundred ${return_value}
2766 [return] ${return_value} 2767 [return] ${return_value}
2767 2768
2768 Get invisible text boolean by locator 2769 Get invisible text boolean by locator
@@ -89,6 +89,9 @@ def split_NBU(text): @@ -89,6 +89,9 @@ def split_NBU(text):
89 text = text[:-1] 89 text = text[:-1]
90 return text 90 return text
91 91
  92 +def division_hundred(number):
  93 + return number/100
  94 +
92 def join(l, separator): 95 def join(l, separator):
93 librarylogger.console('join') 96 librarylogger.console('join')
94 librarylogger.console(l) 97 librarylogger.console(l)
@@ -122,9 +125,6 @@ def convert_date_for_compare_ex2(datestr): @@ -122,9 +125,6 @@ def convert_date_for_compare_ex2(datestr):
122 def download_file(url, file_name, output_dir): 125 def download_file(url, file_name, output_dir):
123 urllib.urlretrieve(url, ('{}/{}'.format(output_dir, file_name))) 126 urllib.urlretrieve(url, ('{}/{}'.format(output_dir, file_name)))
124 127
125 -def multiply_hundred(number):  
126 - return number*100  
127 -  
128 def inject_urllib3(): 128 def inject_urllib3():
129 import urllib3.contrib.pyopenssl 129 import urllib3.contrib.pyopenssl
130 urllib3.contrib.pyopenssl.inject_into_urllib3() 130 urllib3.contrib.pyopenssl.inject_into_urllib3()
Please register or login to post a comment