Skip to content

Commit 2b28a0c

Browse files
committed
refactor(lint): fix issue reported by linter
1 parent 1c37a15 commit 2b28a0c

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

tests/acceptance/pam/steps/then_steps.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ def step_impl(context, channel):
1919
context.token_resource = context.parsed_token["resources"]["channels"].get(channel.strip("'"))
2020
assert context.token_resource
2121

22+
2223
@then("token {data_type} permission {permission}")
2324
def step_impl(context, data_type, permission):
2425
assert context.token_resource
25-
assert context.token_resource[permission.lower()] == True
26+
assert context.token_resource[permission.lower()]
2627

2728

2829
@then("the token contains the authorized UUID {test_uuid}")

tests/integrational/asyncio/test_change_uuid.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ def event_loop():
6464
asyncio.set_event_loop(None)
6565
loop.close()
6666

67+
6768
def test_uuid_validation_at_init(event_loop):
6869
with pytest.raises(AssertionError) as exception:
6970
pnconf = PNConfiguration()

tests/integrational/asyncio/test_message_count.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from tests.helper import pnconf_mc_copy
99
from tests.integrational.vcr_helper import pn_vcr
1010

11+
1112
@pytest.fixture
1213
def event_loop():
1314
loop = asyncio.new_event_loop()
@@ -19,6 +20,7 @@ def event_loop():
1920
asyncio.set_event_loop(None)
2021
loop.close()
2122

23+
2224
@pytest.fixture
2325
def pn(event_loop):
2426
config = pnconf_mc_copy()

0 commit comments

Comments
 (0)