Marijn Deé
294527f7fe
Review changes
2018-11-23 09:21:09 +01:00
Marijn Deé
bb5c0326de
Used duoble quotes iso single quotes
2018-11-23 09:20:19 +01:00
Marijn Deé
352427e460
Moved exception handling closer to the cause of error
2018-11-22 10:01:15 +01:00
Marijn Deé
7e3f86f091
Moved some of the mocks to class level because they are used in every test method
2018-11-22 09:37:47 +01:00
Marijn Deé
7b0f8882a2
Reverted models to namedtuples from collections because
...
NamedTuple is a Python3.6 feature
2018-11-21 11:01:26 +01:00
Marijn Deé
9e8be286af
Used NamedTuple from typing iso namedtuple from collections so we can at least give type hints
2018-11-21 10:12:53 +01:00
ChrisTerBeke
c1c3f3abf3
Merge branch 'master' into tests-for-um3networkplugin
...
* master:
Fix the title's top margin size in the add machine dialog.
Use generated Makefiles to run tests
Add option test-verbose build option to CuraTests
2018-11-20 18:59:31 +01:00
Marijn Deé
f3338aa187
Fixed the failing tests
2018-11-20 16:53:01 +01:00
Marijn Deé
ca60744292
Made the tests work with the named tuples
...
Tests only use the _onGetRemoteMaterial
2018-11-20 16:34:11 +01:00
Marijn Deé
481ca8cd2f
Fixed some bugs and added the color_code field to the named tuple
2018-11-20 16:33:52 +01:00
Diego Prado Gesto
76f2aeb43c
Fix the title's top margin size in the add machine dialog.
2018-11-20 11:27:45 +01:00
Lipu Fei
e6d9ad31ab
Use generated Makefiles to run tests
2018-11-20 09:53:17 +01:00
Jaime van Kessel
2b88e82a2a
Add option test-verbose build option to CuraTests
2018-11-19 16:52:02 +01:00
ChrisTerBeke
2497325d60
Test with named tuples, not working yet
2018-11-19 16:35:19 +01:00
ChrisTerBeke
c04ce7fce8
Use call_count on specific method to be more precise
2018-11-19 15:44:07 +01:00
ChrisTerBeke
60dd130393
Use logException where possible
2018-11-19 15:39:12 +01:00
ChrisTerBeke
66fbadf2de
Convert all single quotes to double quotes
2018-11-19 15:37:56 +01:00
ChrisTerBeke
9d8583a3b6
Revert "Fix running tests in plugin using pytest"
...
This reverts commit f8f133d2ef92dfabb636eac70b09e681bd4b4d63.
2018-11-19 15:10:35 +01:00
ChrisTerBeke
d65114bd56
use call_count to assert device was not called
2018-11-19 15:08:58 +01:00
ChrisTerBeke
0b1ac87354
Fix some formatting, cleanup import
2018-11-19 15:03:43 +01:00
ChrisTerBeke
dc17bd8499
Fix the first tests
2018-11-19 13:54:45 +01:00
ChrisTerBeke
f8f133d2ef
Fix running tests in plugin using pytest
2018-11-19 13:42:28 +01:00
ChrisTerBeke
951a21ead7
Merge branch 'master' into tests-for-um3networkplugin
2018-11-19 10:58:07 +01:00
ChrisTerBeke
ee9210d8d1
Rewrite tests
2018-11-19 10:57:47 +01:00
ChrisTerBeke
23e957e1c5
Some more refactoring, splitting up methods
2018-11-19 10:44:24 +01:00
Ghostkeeper
f10bd28c4a
Improve grammar and do similar fix for extruder end g-code
...
Contributes to issue CURA-5906.
2018-11-16 17:25:32 +01:00
Marijn Deé
22aac7b566
Renamed TestContainerRegistry to ContainerRegistryMock
2018-11-16 16:35:08 +01:00
Marijn Deé
565f009e9b
Added comments
2018-11-16 16:34:44 +01:00
Marijn Deé
1000625d69
Added spaces around all =
2018-11-16 16:07:17 +01:00
Marijn Deé
0062250238
Moved the test to the plugin directory
2018-11-16 16:06:36 +01:00
Marijn Deé
695d45ffbe
Initialize the models with None
2018-11-16 15:54:07 +01:00
Marijn Deé
421af26f87
Extra test on test_sendMaterialsToPrinter, removed unused code
2018-11-16 14:54:49 +01:00
Marijn Deé
e9e8c49b2d
Added tests for SendMaterialJob and refactored SendMaterialJob for
...
better testability. This is part of a larger project to create tests
for the UM3NetworkPrinting plugin in preparation for printing from the
cloud
2018-11-16 14:16:45 +01:00
Jaime van Kessel
93bd5fee53
Fix wrong push free shadow for one at a time.
...
It was applying the size twice. CURA-5822
2018-11-16 13:44:46 +01:00
Jaime van Kessel
240ac1f06b
Clarify some setting descriptions
2018-11-16 13:03:45 +01:00
Jaime van Kessel
401a6b5f8b
Merge pull request #4794 from fieldOfView/fix_adhesion_type_error
...
Fix adhesion type error during startup
2018-11-16 11:24:29 +01:00
Aleksei S
846d608a03
Merge branch 'master' of github.com:Ultimaker/Cura
2018-11-15 15:59:00 +01:00
Aleksei S
2bf4354fed
Removed minimum_value for the setting support_roof_offset and support_bottom_offset
...
CURA-5880
2018-11-15 15:57:34 +01:00
Ghostkeeper
e9216936d7
Compare SDK version as Version instances
...
This allows it to compare versions that are remote as integer and local as string, or vice-versa. Much more robust.
Contributes to issue CURA-5940.
2018-11-15 15:20:21 +01:00
Ghostkeeper
78e6494430
Read SDK version from new semver field
...
The sdk_version field should stay the ordinary plain number (the major version number of the semver field) so that older Cura versions don't break. Newly built packages will get built with both sdk_version_semver and the normal sdk_version, so that the packages can be read with any Cura version from 3.6 onwards.
Contributes to issue CURA-5940.
2018-11-15 15:13:36 +01:00
Ghostkeeper
163f102dda
Make extension menu items translatable
...
If these extension plug-ins don't set their menu names, the plug-in name is used as the menu name. The plug-in names are not translated, so this appears as an untranslated string then.
2018-11-15 09:38:14 +01:00
fieldOfView
b671a3153a
Catch an error getting an extruder value before extruders are added to the global stack
2018-11-14 14:21:39 +01:00
fieldOfView
66c3cc9204
Prevent an error during start up
2018-11-14 14:20:42 +01:00
alekseisasin
103d79c89d
Merge pull request #4781 from Ultimaker/fix_legacy_profile_importer
...
Fix legacy profile importer
2018-11-14 13:00:39 +01:00
Remco Burema
b27045f5c5
Merge pull request #4790 from Ultimaker/DesktopMetal-feature_minimum_support_area
...
Desktop metal feature minimum support area
2018-11-13 17:38:11 +01:00
Remco Burema
13a9bb7eba
Remove enables for min. support area in case of TreeSupport. [CURA-5903]
2018-11-13 17:03:27 +01:00
Remco Burema
6307784a79
Fix some English grammar. [CURA-5903]
2018-11-13 16:50:00 +01:00
Remco Burema
9181b5a3b9
Merge branch 'feature_minimum_support_area' of https://github.com/DesktopMetal/Cura into DesktopMetal-feature_minimum_support_area
2018-11-13 16:26:36 +01:00
Remco Burema
7a577489ae
Merge pull request #4705 from Ultimaker/CURA-5840-make-plugin-sdk-use-semantic-versioning
...
Fixes required for semantic versioning
2018-11-13 15:34:42 +01:00
Remco Burema
5f4e3948d3
Merge branch 'master' into CURA-5840-make-plugin-sdk-use-semantic-versioning
2018-11-13 13:16:22 +01:00