Skip to content

Commit

Permalink
Merge commit '0746e49'
Browse files Browse the repository at this point in the history
  • Loading branch information
László Vaskó committed Feb 17, 2020
2 parents aecb1d3 + 0746e49 commit c3c917a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions openconnect_sso/browser/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
from .browser import Browser, Terminated

__all__ = [Browser, Terminated]
2 changes: 1 addition & 1 deletion openconnect_sso/browser/webengine_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def to_str(qval):

def get_selectors(rules, credentials):
statements = []
for i, rule in enumerate(rules):
for rule in rules:
selector = json.dumps(rule.selector)
if rule.action == "stop":
statements.append(
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ pytest-asyncio = "^0.10.0"
pytest-cov = "^2.7"
pytest-httpserver = "^0.3.4"
reno = "^2.11"
pylint = "^2.4.4"

[tool.black]
target-version = ['py36', 'py37', 'py38']
Expand Down
2 changes: 1 addition & 1 deletion tests/test_browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

@pytest.mark.asyncio
async def test_browser_context_manager_should_work_in_empty_context_manager():
async with Browser() as browser:
async with Browser() as _:
pass


Expand Down

0 comments on commit c3c917a

Please sign in to comment.