mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Fix some unit tests.
Add fixtures to the conftest file and clean-up the code a bit. Contributes to CURA-5628
This commit is contained in:
parent
be021b8fac
commit
db7f1242cd
8 changed files with 118 additions and 134 deletions
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) 2018 Ultimaker B.V.
|
||||
# Cura is released under the terms of the LGPLv3 or higher.
|
||||
|
||||
import configparser #To read the profiles.
|
||||
import os #To join paths.
|
||||
import pytest
|
||||
|
@ -11,6 +14,7 @@ import pytest
|
|||
# often that we updated the variants for the UM3 but forgot about the UM3E.
|
||||
@pytest.mark.parametrize("um3_file, um3e_file", [
|
||||
#List the corresponding files below.
|
||||
("ultimaker3_aa0.25.inst.cfg", "ultimaker3_extended_aa0.25.inst.cfg"),
|
||||
("ultimaker3_aa0.8.inst.cfg", "ultimaker3_extended_aa0.8.inst.cfg"),
|
||||
("ultimaker3_aa04.inst.cfg", "ultimaker3_extended_aa04.inst.cfg"),
|
||||
("ultimaker3_bb0.8.inst.cfg", "ultimaker3_extended_bb0.8.inst.cfg"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue