Skip to content

Commit 6187ada

Browse files
krionbsdCh3LL
authored andcommitted
Remove bogus quotes
1 parent 75994d8 commit 6187ada

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/pytests/unit/states/test_win_system.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ def test_computer_desc():
1919
ret = {"name": "salt", "changes": {}, "result": True, "comment": ""}
2020
mock = MagicMock(side_effect=["salt", "stack", "stack"])
2121
with patch.dict(win_system.__salt__, {"system.get_computer_desc": mock}):
22-
ret.update({"comment": "Computer description" " already set to 'salt'"})
22+
ret.update({"comment": "Computer description already set to 'salt'"})
2323
assert win_system.computer_desc("salt") == ret
2424

2525
with patch.dict(win_system.__opts__, {"test": True}):
2626
ret.update(
2727
{
2828
"result": None,
29-
"comment": "Computer description" " will be changed to 'salt'",
29+
"comment": "Computer description will be changed to 'salt'",
3030
}
3131
)
3232
assert win_system.computer_desc("salt") == ret
@@ -37,7 +37,7 @@ def test_computer_desc():
3737
ret.update(
3838
{
3939
"result": False,
40-
"comment": "Unable to set" " computer description to 'salt'",
40+
"comment": "Unable to set computer description to 'salt'",
4141
}
4242
)
4343
assert win_system.computer_desc("salt") == ret
@@ -70,7 +70,7 @@ def test_computer_name():
7070
ret.update(
7171
{
7272
"result": None,
73-
"comment": "Computer name will" " be changed to 'salt'",
73+
"comment": "Computer name will be changed to 'salt'",
7474
}
7575
)
7676
assert win_system.computer_name("salt") == ret
@@ -82,7 +82,7 @@ def test_computer_name():
8282
):
8383
ret.update(
8484
{
85-
"comment": "Unable to set computer name" " to 'salt'",
85+
"comment": "Unable to set computer name to 'salt'",
8686
"result": False,
8787
}
8888
)

0 commit comments

Comments
 (0)