9 Commits

Author SHA1 Message Date
Remco Burema
02516f0f47 Refactor: Move common fixtures to 'conftest'.
Part of CURA-6091.
2019-06-21 14:58:55 +02:00
Jaime van Kessel
804e2060ea Re-added the imports to the conftest
These are really really needed, otherwise the tests wont run. I've added a few
more comments to further stress the importance of these.

CURA-6057
2019-03-27 17:20:17 +01:00
Lipu Fei
dfc53d3604 Move MachineActionManager into cura.UI module 2019-03-20 09:10:48 +01:00
Lipu Fei
89cb67017f Add unit test for addDefaultMachineActions()
CURA-5812
2018-10-23 08:49:23 +02:00
Ghostkeeper
f8da8c14e5
Fix running tests with PyQt 5.11
This was causing the test runner to crash.
2018-09-14 11:38:14 +02:00
Lipu Fei
8582a1ba1a Mock application in unit tests 2018-08-23 17:00:57 +02:00
Diego Prado Gesto
77c5a94db2 Fix some test in the CuraContainerRegistry.
Delete a test that needs a ContainerProvider. We need to discuss if we
want to add it back, depending if we are still keeping the providers.

Contributes to CURA-5628.
2018-08-14 17:14:30 +02:00
Diego Prado Gesto
1364370ede Fix global stack tests.
Contributes to CURA-5628.
2018-08-14 13:49:37 +02:00
Diego Prado Gesto
db7f1242cd Fix some unit tests.
Add fixtures to the conftest file and clean-up the code a bit.

Contributes to CURA-5628
2018-08-14 10:41:38 +02:00