diff options
author | luz paz <luzpaz@users.noreply.github.com> | 2021-09-07 18:33:54 +0300 |
---|---|---|
committer | luz paz <luzpaz@users.noreply.github.com> | 2021-09-07 18:33:54 +0300 |
commit | d68f375e386049878de69eb0b33aacc3f40cb344 (patch) | |
tree | 7c31e3a32ac8b9d2c7328c6de5f300eb4eb15182 /tests/PrinterOutput | |
parent | 7eeae4db87f3f6e860c2bc4faab79af50c59e484 (diff) |
Fix various typos
Found via `codespell -q 3 -S *.po,*.pot -L childs,initialy,lod,ned,te,slicable,sur,tutoriels,wont`
Diffstat (limited to 'tests/PrinterOutput')
-rw-r--r-- | tests/PrinterOutput/TestNetworkedPrinterOutputDevice.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/PrinterOutput/TestNetworkedPrinterOutputDevice.py b/tests/PrinterOutput/TestNetworkedPrinterOutputDevice.py index 107ed77b51..84ad7f0473 100644 --- a/tests/PrinterOutput/TestNetworkedPrinterOutputDevice.py +++ b/tests/PrinterOutput/TestNetworkedPrinterOutputDevice.py @@ -38,7 +38,7 @@ def test_post(): mocked_network_manager = MagicMock() output_device._manager = mocked_network_manager - # Create a fake reply (we cant use a QReply, since those are abstract C++) + # Create a fake reply (we can't use a QReply, since those are abstract C++) reply = MagicMock() reply.operation = MagicMock(return_value=QNetworkAccessManager.PostOperation) reply.url = MagicMock(return_value=QUrl("127.0.0.1")) @@ -47,7 +47,7 @@ def test_post(): mocked_callback_handler = MagicMock() output_device.post("whatever", "omgzomg", on_finished = mocked_callback_handler.onFinished) - # So we now fake that the request was sucesful. + # So we now fake that the request was successful. output_device._handleOnFinished(reply) # We expect to get a callback regarding this. @@ -60,7 +60,7 @@ def test_get(): mocked_network_manager = MagicMock() output_device._manager = mocked_network_manager - # Create a fake reply (we cant use a QReply, since those are abstract C++) + # Create a fake reply (we can't use a QReply, since those are abstract C++) reply = MagicMock() reply.operation = MagicMock(return_value=QNetworkAccessManager.PostOperation) reply.url = MagicMock(return_value=QUrl("127.0.0.1")) @@ -69,7 +69,7 @@ def test_get(): mocked_callback_handler = MagicMock() output_device.get("whatever", on_finished=mocked_callback_handler.onFinished) - # So we now fake that the request was sucesful. + # So we now fake that the request was successful. output_device._handleOnFinished(reply) # We expect to get a callback regarding this. @@ -82,7 +82,7 @@ def test_delete(): mocked_network_manager = MagicMock() output_device._manager = mocked_network_manager - # Create a fake reply (we cant use a QReply, since those are abstract C++) + # Create a fake reply (we can't use a QReply, since those are abstract C++) reply = MagicMock() reply.operation = MagicMock(return_value=QNetworkAccessManager.PostOperation) reply.url = MagicMock(return_value=QUrl("127.0.0.1")) @@ -91,7 +91,7 @@ def test_delete(): mocked_callback_handler = MagicMock() output_device.delete("whatever", on_finished=mocked_callback_handler.onFinished) - # So we now fake that the request was sucesful. + # So we now fake that the request was successful. output_device._handleOnFinished(reply) # We expect to get a callback regarding this. @@ -104,7 +104,7 @@ def test_put(): mocked_network_manager = MagicMock() output_device._manager = mocked_network_manager - # Create a fake reply (we cant use a QReply, since those are abstract C++) + # Create a fake reply (we can't use a QReply, since those are abstract C++) reply = MagicMock() reply.operation = MagicMock(return_value=QNetworkAccessManager.PostOperation) reply.url = MagicMock(return_value=QUrl("127.0.0.1")) @@ -113,7 +113,7 @@ def test_put(): mocked_callback_handler = MagicMock() output_device.put("whatever", "omgzomg", on_finished = mocked_callback_handler.onFinished) - # So we now fake that the request was sucesful. + # So we now fake that the request was successful. output_device._handleOnFinished(reply) # We expect to get a callback regarding this. |