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