Apply suggestion to remove unnecessary extra arguments

CURA-12093
This commit is contained in:
Erwan MATHIEU 2024-09-10 12:50:50 +02:00
parent 101a637bbb
commit d74e0487cd
2 changed files with 6 additions and 9 deletions

View file

@ -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