We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e72498 commit a840b2fCopy full SHA for a840b2f
tests/unit/provision/test_ssh.py
@@ -16,8 +16,16 @@
16
@pytest.mark.parametrize(
17
('socket_dir', 'limit_size', 'expected'),
18
[
19
- (Path('/tmp'), True, Path('/tmp/dummy-id.socket')),
20
- (Path('/very/log/socket/dir/which/is/almost/over/the/limit/but/just/and/soo'), True, None),
+ (
+ Path('/tmp'),
21
+ True,
22
+ Path('/tmp/dummy-id.socket'),
23
+ ),
24
25
+ Path('/very/log/socket/dir/which/is/almost/over/the/limit/but/just/and/soo'),
26
27
+ None,
28
29
(
30
Path('/very/log/socket/dir/which/is/over/the/limit/by/itself/and/does/not/need'),
31
True,
tests/unit/test_convert.py
@@ -28,13 +28,22 @@ def test_extract_relevancy_field_has_priority():
('expected', 'individual'),
- ({'common': {1: 1, 2: 2}, 'individual': [{}, {}]}, [{1: 1, 2: 2}, {1: 1, 2: 2}]),
32
- ({'common': {1: 1}, 'individual': [{2: 2}, {3: 3}]}, [{1: 1, 2: 2}, {1: 1, 3: 3}]),
+ {'common': {1: 1, 2: 2}, 'individual': [{}, {}]},
33
+ [{1: 1, 2: 2}, {1: 1, 2: 2}],
34
35
36
+ {'common': {1: 1}, 'individual': [{2: 2}, {3: 3}]},
37
+ [{1: 1, 2: 2}, {1: 1, 3: 3}],
38
39
40
{'common': {1: 1}, 'individual': [{2: 2}, {3: 3}, {}]},
41
[{1: 1, 2: 2}, {1: 1, 3: 3}, {1: 1}],
42
),
- ({'common': {}, 'individual': [{1: 1, 2: 2}, {3: 3}]}, [{1: 1, 2: 2}, {3: 3}]),
43
44
+ {'common': {}, 'individual': [{1: 1, 2: 2}, {3: 3}]},
45
+ [{1: 1, 2: 2}, {3: 3}],
46
47
48
{'common': {}, 'individual': [{1: 1, 2: 2}, {3: 3}, {3: 3, 4: 4}]},
49
[{1: 1, 2: 2}, {3: 3}, {3: 3, 4: 4}],
tests/unit/test_try.py
@@ -16,7 +16,10 @@
{'image_and_how': ('fedora@virtual',), 'arch': 'aarch64'},
{'image': 'fedora', 'how': 'virtual', 'arch': 'aarch64'},
- ({'image_and_how': (), 'arch': 'aarch64'}, {'arch': 'aarch64'}),
+ {'image_and_how': (), 'arch': 'aarch64'},
+ {'arch': 'aarch64'},
],
)
def test_options_arch(params: dict[str, Any], expected: dict[str, Any]):
0 commit comments