Skip to content

Commit 218fa4f

Browse files
committedJan 11, 2019
Renamed some tests for consistency
Renamed some tests/core/utilities/test_abi_filter*.py modules so that their names are all consistent. Also, in test_abi_filter_by_argument_name.py, renamed tests.core.utilities.test_abi_filter_by_name.test_filter_by_arguments_1() to ...test_filter_by_argument_name(), to match the function under test. And, in test_abi_filter_by_name.py, renamed test_filter_by_arguments() to test_filter_by_name(), again to match the function under test.
1 parent 9a5c56c commit 218fa4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎tests/core/utilities/test_abi_filtering_by_argument_name.py ‎tests/core/utilities/test_abi_filter_by_argument_name.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
(['b'], ['func_3', 'func_4']),
5656
)
5757
)
58-
def test_filter_by_arguments_1(argument_names, expected):
58+
def test_filter_by_argument_name(argument_names, expected):
5959
actual_matches = filter_by_argument_name(argument_names, ABI)
6060
function_names = [match['name'] for match in actual_matches]
6161
assert set(function_names) == set(expected)

‎tests/core/utilities/test_abi_filter_by_abi_name.py ‎tests/core/utilities/test_abi_filter_by_name.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@
6666
('does_not_exist', []),
6767
)
6868
)
69-
def test_filter_by_arguments(name, expected):
69+
def test_filter_by_name(name, expected):
7070
actual_matches = filter_by_name(name, ABI)
7171
assert actual_matches == expected

0 commit comments

Comments
 (0)