Fix typos, improve markup (#231)

* Fix typos.

* Improve markup.
This commit is contained in:
Felix Fontein 2023-10-29 08:28:00 +01:00 committed by GitHub
parent 8a4b37c909
commit a823d66b33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 24 additions and 24 deletions

View file

@ -104,7 +104,7 @@ def test_key_info_errors():
assert exc.value.args[0] == 'read_only and write_only cannot be used at the same time'
SPLITTED_PATHS = [
SPLIT_PATHS = [
('', [], ''),
(' ip ', ['ip'], 'ip'),
('ip', ['ip'], 'ip'),
@ -112,7 +112,7 @@ SPLITTED_PATHS = [
]
@pytest.mark.parametrize("joined_input, splitted, joined_output", SPLITTED_PATHS)
def test_join_split_path(joined_input, splitted, joined_output):
assert split_path(joined_input) == splitted
assert join_path(splitted) == joined_output
@pytest.mark.parametrize("joined_input, split, joined_output", SPLIT_PATHS)
def test_join_split_path(joined_input, split, joined_output):
assert split_path(joined_input) == split
assert join_path(split) == joined_output