Cura/tests
Ghostkeeper c8aff57bfe
Actually mock a reply from the auth server
The reply is not really relevant. The reply is mocked through readJSON.
So it turns out that so far, our tests have been making actual requests to the authentication server, and depended on it being online. Not good. Mock those external dependencies!

Contributes to issue CURA-8539.
2021-11-22 12:11:45 +01:00
..
API Connect sync timer to sync() for consistency and add unit tests. 2020-06-26 16:09:33 +02:00
Machines Fix various typos 2021-09-07 11:33:54 -04:00
PrinterOutput Patch CuraApplication away while running tests for output devices 2021-10-13 10:34:59 +02:00
Settings Fix typo in file name 2021-09-08 09:39:38 +02:00
__init__.py Fix running tests via CMake 2019-08-13 16:20:21 +02:00
conftest.py Remove unneeded pycapsule imports 2021-05-10 16:53:16 +02:00
TestArrange.py Skip running the tests for the old arrange algorithm 2020-10-30 14:11:00 +01:00
TestBuildVolume.py Fix tests 2020-12-18 11:52:53 +01:00
TestConvexHullDecorator.py Add some tests for _compute2DConvexHull 2019-05-31 16:37:46 +02:00
TestCuraSceneController.py Fix various typos 2021-09-07 11:33:54 -04:00
TestCuraSceneNode.py Fix TestCuraSceneNode 2019-12-06 12:00:40 +01:00
TestExtruderManager.py Remove unnecessary re-adding of extruders 2020-05-15 14:26:44 +02:00
TestGCodeListDecorator.py Add test for gcodeListDecorator 2019-01-25 14:04:53 +01:00
TestIntentManager.py Fix TestIntentManager 2019-10-01 11:30:54 +02:00
TestLayer.py Add typing & tests for Layer 2019-08-02 16:49:07 +02:00
TestMachineAction.py Fix various typos 2021-09-07 11:33:54 -04:00
TestMachineManager.py Fix assertion 2020-11-10 16:54:53 +01:00
TestOAuth2.py Actually mock a reply from the auth server 2021-11-22 12:11:45 +01:00
TestObjectsModel.py Fix ObjectsModel test to allow non-autogenerated group-name 2021-04-20 10:10:58 +02:00
TestPrintInformation.py Correct and consistent spelling of g-code 2020-07-20 13:36:49 +02:00
TestProfileRequirements.py Fix failing unit test 2019-02-11 13:30:32 +01:00
TestThemes.py Add test to see if all deprecated theme icons still exist 2021-08-31 12:00:59 +02:00