Skip to content

Update pyotp lib #350

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[<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 />

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

<img src="https://cdn2.hubspot.net/hubfs/100006/sb_demo_mode.gif" title="SeleniumBase" height="236"><br />
(<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 />
Expand Down Expand Up @@ -639,4 +639,4 @@ If you see something, say something! We are very active in resolving issues. [<i

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

[<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)
[<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)
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ parameterized>=0.7.0
beautifulsoup4>=4.6.0
pyopenssl>=19.0.0
colorama>=0.4.1
pyotp>=2.2.7
pyotp>=2.3.0
boto>=2.49.0
flake8>=3.7.8
certifi>=2019.6.16
Expand Down
25 changes: 25 additions & 0 deletions seleniumbase/console_scripts/sb_mkdir.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,31 @@ def main():
file.writelines("\r\n".join(data))
file.close()

data = []
data.append("from seleniumbase import BaseCase")
data.append("from parameterized import parameterized")
data.append("")
data.append("")
data.append("class GoogleTestClass(BaseCase):")
data.append("")
data.append(" @parameterized.expand([")
data.append(' ["pypi", "https://pypi.org"],')
data.append(' ["wikipedia", "https://www.wikipedia.org"],')
data.append(' ["seleniumbase", '
'"https://github.com/seleniumbase/SeleniumBase"],')
data.append(" ])")
data.append(" def test_parameterized_google_search("
"self, search_term, expected_url):")
data.append(" self.open('https://google.com/ncr')")
data.append(" self.update_text('input[title=\"Search\"]', "
"search_term + '\\n')")
data.append(" self.assert_text(expected_url, '#search')")
data.append("")
file_path = "%s/%s" % (dir_name, "parameterized_test.py")
file = codecs.open(file_path, "w+", "utf-8")
file.writelines("\r\n".join(data))
file.close()

dir_name_2 = dir_name + "/" + "boilerplates"
os.mkdir(dir_name_2)

Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

setup(
name='seleniumbase',
version='1.26.1',
description='Reliable Browser Automation & Testing Framework',
version='1.26.2',
description='Fast, Easy, and Reliable Browser Automation & Testing.',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/seleniumbase/SeleniumBase',
Expand Down Expand Up @@ -78,7 +78,7 @@
'beautifulsoup4>=4.6.0', # Keep at >=4.6.0 while using "bs4"
'pyopenssl>=19.0.0',
'colorama>=0.4.1',
'pyotp>=2.2.7',
'pyotp>=2.3.0',
'boto>=2.49.0',
'flake8>=3.7.8',
'certifi>=2019.6.16',
Expand Down