Skip to content

Commit 00abed8

Browse files
authored
Merge pull request #350 from seleniumbase/update-pyotp-lib
Update pyotp lib
2 parents a694f3b + c464f20 commit 00abed8

File tree

4 files changed

+31
-6
lines changed

4 files changed

+31
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[<img src="https://img.shields.io/github/release/seleniumbase/SeleniumBase.svg" />](https://github.com/seleniumbase/SeleniumBase/releases) [<img src="https://dev.azure.com/seleniumbase/seleniumbase/_apis/build/status/seleniumbase.SeleniumBase?branchName=master" />](https://dev.azure.com/seleniumbase/seleniumbase/_build/latest?definitionId=1&branchName=master) [<img src="https://travis-ci.org/seleniumbase/SeleniumBase.svg?branch=master" alt="Build Status" />](https://travis-ci.org/seleniumbase/SeleniumBase) [<img src="https://badges.gitter.im/seleniumbase/SeleniumBase.svg" alt="Join the SeleniumBase Gitter chat" />](https://gitter.im/seleniumbase/SeleniumBase) [<img src="https://img.shields.io/badge/license-MIT-22BBCC.svg" alt="MIT License" />](https://github.com/seleniumbase/SeleniumBase/blob/master/LICENSE) [<img src="https://img.shields.io/github/stars/seleniumbase/seleniumbase.svg" alt="Stars" />](https://github.com/seleniumbase/SeleniumBase/stargazers)<br />
44

5-
Reliable Browser Automation & Testing with [Selenium-WebDriver](https://www.seleniumhq.org/) and [Pytest](https://docs.pytest.org/en/latest/).
5+
Automate & test more in less time with [Selenium-WebDriver](https://www.seleniumhq.org/) and [Pytest](https://docs.pytest.org/en/latest/).
66

77
<img src="https://cdn2.hubspot.net/hubfs/100006/sb_demo_mode.gif" title="SeleniumBase" height="236"><br />
88
(<i>Above: [my_first_test.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py) from [examples/](https://github.com/seleniumbase/SeleniumBase/tree/master/examples) running in demo mode, which adds JavaScript for highlighting page actions.</i>)<br />
@@ -639,4 +639,4 @@ If you see something, say something! We are very active in resolving issues. [<i
639639

640640
[https://github.com/mdmintz](https://github.com/mdmintz)<br />
641641

642-
[<img src="https://cdn2.hubspot.net/hubfs/100006/images/SB_Logo3g4.png" title="SeleniumBase" height="45">](https://github.com/seleniumbase/SeleniumBase/blob/master/README.md) <br /> <img src="https://cdn2.hubspot.net/hubfs/100006/images/logo_base_4b.png" title="SeleniumBase" height="150"> <br /> [<img src="https://img.shields.io/badge/license-MIT-22BBCC.svg" alt="MIT License" />](https://github.com/seleniumbase/SeleniumBase/blob/master/LICENSE)
642+
[<img src="https://cdn2.hubspot.net/hubfs/100006/images/super_logo_7a.png" title="SeleniumBase" height="45">](https://github.com/seleniumbase/SeleniumBase/blob/master/README.md) <br /> [<img src="https://img.shields.io/badge/license-MIT-22BBCC.svg" alt="MIT License" />](https://github.com/seleniumbase/SeleniumBase/blob/master/LICENSE)

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ parameterized>=0.7.0
2525
beautifulsoup4>=4.6.0
2626
pyopenssl>=19.0.0
2727
colorama>=0.4.1
28-
pyotp>=2.2.7
28+
pyotp>=2.3.0
2929
boto>=2.49.0
3030
flake8>=3.7.8
3131
certifi>=2019.6.16

seleniumbase/console_scripts/sb_mkdir.py

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,31 @@ def main():
101101
file.writelines("\r\n".join(data))
102102
file.close()
103103

104+
data = []
105+
data.append("from seleniumbase import BaseCase")
106+
data.append("from parameterized import parameterized")
107+
data.append("")
108+
data.append("")
109+
data.append("class GoogleTestClass(BaseCase):")
110+
data.append("")
111+
data.append(" @parameterized.expand([")
112+
data.append(' ["pypi", "https://pypi.org"],')
113+
data.append(' ["wikipedia", "https://www.wikipedia.org"],')
114+
data.append(' ["seleniumbase", '
115+
'"https://github.com/seleniumbase/SeleniumBase"],')
116+
data.append(" ])")
117+
data.append(" def test_parameterized_google_search("
118+
"self, search_term, expected_url):")
119+
data.append(" self.open('https://google.com/ncr')")
120+
data.append(" self.update_text('input[title=\"Search\"]', "
121+
"search_term + '\\n')")
122+
data.append(" self.assert_text(expected_url, '#search')")
123+
data.append("")
124+
file_path = "%s/%s" % (dir_name, "parameterized_test.py")
125+
file = codecs.open(file_path, "w+", "utf-8")
126+
file.writelines("\r\n".join(data))
127+
file.close()
128+
104129
dir_name_2 = dir_name + "/" + "boilerplates"
105130
os.mkdir(dir_name_2)
106131

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818
setup(
1919
name='seleniumbase',
20-
version='1.26.1',
21-
description='Reliable Browser Automation & Testing Framework',
20+
version='1.26.2',
21+
description='Fast, Easy, and Reliable Browser Automation & Testing.',
2222
long_description=long_description,
2323
long_description_content_type='text/markdown',
2424
url='https://github.com/seleniumbase/SeleniumBase',
@@ -78,7 +78,7 @@
7878
'beautifulsoup4>=4.6.0', # Keep at >=4.6.0 while using "bs4"
7979
'pyopenssl>=19.0.0',
8080
'colorama>=0.4.1',
81-
'pyotp>=2.2.7',
81+
'pyotp>=2.3.0',
8282
'boto>=2.49.0',
8383
'flake8>=3.7.8',
8484
'certifi>=2019.6.16',

0 commit comments

Comments
 (0)