mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 04:07:57 -06:00
Apply suggestion to remove unnecessary extra arguments
CURA-12093
This commit is contained in:
parent
101a637bbb
commit
d74e0487cd
2 changed files with 6 additions and 9 deletions
|
@ -216,5 +216,7 @@ def extruder_manager():
|
|||
return result
|
||||
|
||||
def test_startEndGCode_replace(cura_application, extruder_manager, original_gcode, expected_gcode):
|
||||
formatter = GcodeStartEndFormatter(all_extruder_settings, -1, cura_application, extruder_manager)
|
||||
formatter = GcodeStartEndFormatter(all_extruder_settings, -1)
|
||||
formatter._cura_application = cura_application
|
||||
formatter._extruder_manager = extruder_manager
|
||||
assert formatter.format(original_gcode) == expected_gcode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue