Skip to content

Commit d8d7d40

Browse files
committed
fix: address comments
1 parent 65465df commit d8d7d40

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

test/fluent_api/conftest.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ def _run_test(fluent_api, notecard_api_name, req_params, rename_key_map=None, re
3434
# that parameter is actually derived from the value of the 'format'
3535
# parameter. The rename_value_map allows a test to specify how a fluent
3636
# API's keyword args map to Notecard API args, in cases where the value
37+
# of one arg is derived from the value of another arg.
3738
if rename_value_map is not None:
38-
for old_key, new_value in rename_value_map.items():
39-
expected_notecard_api_req[old_key] = new_value
39+
for key, new_value in rename_value_map.items():
40+
expected_notecard_api_req[key] = new_value
4041

4142
card.Transaction.assert_called_once_with(expected_notecard_api_req)
4243

test/test_md5.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def tearDown(self):
1919

2020
def test_non_cpython_implementation(self):
2121
"""Test our custom MD5 implementation used in non-CPython environments"""
22-
# Set implementation to micropython before importing
22+
# Set implementation to non-cpython before importing
2323
sys.implementation.name = 'non-cpython'
2424
import notecard.md5
2525

0 commit comments

Comments
 (0)