Skip to content

Update AddCoolingProfile.py #3635

Update AddCoolingProfile.py

Update AddCoolingProfile.py #3635

GitHub Actions / Test Results failed Dec 12, 2024 in 0s

120 fail, 2 skipped, 23 248 pass in 56s

23 370 tests  ±0   23 248 ✅ ±0   56s ⏱️ -1s
     1 suites ±0        2 💤 ±0 
     1 files   ±0      120 ❌ ±0 

Results for commit 8d5dd77. ± Comparison against earlier commit 6830778.

Annotations

Check warning on line 0 in tests.Settings.TestProfiles

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_versionUpToDate[/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_0.40_PVA_normal.inst.cfg] (tests.Settings.TestProfiles) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_0.40_PVA_normal.inst.cfg: The version of this profile is not up to date!
  assert 23 == 24
   +  where 23 = int('23')
   +  and   24 = CuraApplication.SettingVersion
assert False
file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_0.40_PVA_normal.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
>               assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
E               AssertionError: The version of this profile is not up to date!
E               assert 23 == 24
E                +  where 23 = int('23')
E                +  and   24 = CuraApplication.SettingVersion

Settings/TestProfiles.py:164: AssertionError

During handling of the above exception, another exception occurred:

file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_0.40_PVA_normal.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
                assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
        except Exception as e:
            # File can't be read, header sections missing, whatever the case, this shouldn't happen!
>           assert False, "Got an exception while reading the file {file_name}: {err}".format(file_name = file_name, err = str(e))
E           AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_0.40_PVA_normal.inst.cfg: The version of this profile is not up to date!
E             assert 23 == 24
E              +  where 23 = int('23')
E              +  and   24 = CuraApplication.SettingVersion
E           assert False

Settings/TestProfiles.py:167: AssertionError

Check warning on line 0 in tests.Settings.TestProfiles

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_versionUpToDate[/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.40_TPU_fine.inst.cfg] (tests.Settings.TestProfiles) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.40_TPU_fine.inst.cfg: The version of this profile is not up to date!
  assert 23 == 24
   +  where 23 = int('23')
   +  and   24 = CuraApplication.SettingVersion
assert False
file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.40_TPU_fine.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
>               assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
E               AssertionError: The version of this profile is not up to date!
E               assert 23 == 24
E                +  where 23 = int('23')
E                +  and   24 = CuraApplication.SettingVersion

Settings/TestProfiles.py:164: AssertionError

During handling of the above exception, another exception occurred:

file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.40_TPU_fine.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
                assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
        except Exception as e:
            # File can't be read, header sections missing, whatever the case, this shouldn't happen!
>           assert False, "Got an exception while reading the file {file_name}: {err}".format(file_name = file_name, err = str(e))
E           AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.40_TPU_fine.inst.cfg: The version of this profile is not up to date!
E             assert 23 == 24
E              +  where 23 = int('23')
E              +  and   24 = CuraApplication.SettingVersion
E           assert False

Settings/TestProfiles.py:167: AssertionError

Check warning on line 0 in tests.Settings.TestProfiles

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_versionUpToDate[/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.35_ASA_fine.inst.cfg] (tests.Settings.TestProfiles) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.35_ASA_fine.inst.cfg: The version of this profile is not up to date!
  assert 23 == 24
   +  where 23 = int('23')
   +  and   24 = CuraApplication.SettingVersion
assert False
file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.35_ASA_fine.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
>               assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
E               AssertionError: The version of this profile is not up to date!
E               assert 23 == 24
E                +  where 23 = int('23')
E                +  and   24 = CuraApplication.SettingVersion

Settings/TestProfiles.py:164: AssertionError

During handling of the above exception, another exception occurred:

file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.35_ASA_fine.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
                assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
        except Exception as e:
            # File can't be read, header sections missing, whatever the case, this shouldn't happen!
>           assert False, "Got an exception while reading the file {file_name}: {err}".format(file_name = file_name, err = str(e))
E           AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.35_ASA_fine.inst.cfg: The version of this profile is not up to date!
E             assert 23 == 24
E              +  where 23 = int('23')
E              +  and   24 = CuraApplication.SettingVersion
E           assert False

Settings/TestProfiles.py:167: AssertionError

Check warning on line 0 in tests.Settings.TestProfiles

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_versionUpToDate[/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_1.00_PVA_ultrasprint.inst.cfg] (tests.Settings.TestProfiles) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_1.00_PVA_ultrasprint.inst.cfg: The version of this profile is not up to date!
  assert 23 == 24
   +  where 23 = int('23')
   +  and   24 = CuraApplication.SettingVersion
assert False
file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_1.00_PVA_ultrasprint.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
>               assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
E               AssertionError: The version of this profile is not up to date!
E               assert 23 == 24
E                +  where 23 = int('23')
E                +  and   24 = CuraApplication.SettingVersion

Settings/TestProfiles.py:164: AssertionError

During handling of the above exception, another exception occurred:

file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_1.00_PVA_ultrasprint.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
                assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
        except Exception as e:
            # File can't be read, header sections missing, whatever the case, this shouldn't happen!
>           assert False, "Got an exception while reading the file {file_name}: {err}".format(file_name = file_name, err = str(e))
E           AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_1.00_PVA_ultrasprint.inst.cfg: The version of this profile is not up to date!
E             assert 23 == 24
E              +  where 23 = int('23')
E              +  and   24 = CuraApplication.SettingVersion
E           assert False

Settings/TestProfiles.py:167: AssertionError

Check warning on line 0 in tests.Settings.TestProfiles

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_versionUpToDate[/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_0.60_PVA_extrafast.inst.cfg] (tests.Settings.TestProfiles) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_0.60_PVA_extrafast.inst.cfg: The version of this profile is not up to date!
  assert 23 == 24
   +  where 23 = int('23')
   +  and   24 = CuraApplication.SettingVersion
assert False
file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_0.60_PVA_extrafast.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
>               assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
E               AssertionError: The version of this profile is not up to date!
E               assert 23 == 24
E                +  where 23 = int('23')
E                +  and   24 = CuraApplication.SettingVersion

Settings/TestProfiles.py:164: AssertionError

During handling of the above exception, another exception occurred:

file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_0.60_PVA_extrafast.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
                assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
        except Exception as e:
            # File can't be read, header sections missing, whatever the case, this shouldn't happen!
>           assert False, "Got an exception while reading the file {file_name}: {err}".format(file_name = file_name, err = str(e))
E           AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_0.60_PVA_extrafast.inst.cfg: The version of this profile is not up to date!
E             assert 23 == 24
E              +  where 23 = int('23')
E              +  and   24 = CuraApplication.SettingVersion
E           assert False

Settings/TestProfiles.py:167: AssertionError

Check warning on line 0 in tests.Settings.TestProfiles

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_versionUpToDate[/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.60_ASA_sprint.inst.cfg] (tests.Settings.TestProfiles) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.60_ASA_sprint.inst.cfg: The version of this profile is not up to date!
  assert 23 == 24
   +  where 23 = int('23')
   +  and   24 = CuraApplication.SettingVersion
assert False
file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.60_ASA_sprint.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
>               assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
E               AssertionError: The version of this profile is not up to date!
E               assert 23 == 24
E                +  where 23 = int('23')
E                +  and   24 = CuraApplication.SettingVersion

Settings/TestProfiles.py:164: AssertionError

During handling of the above exception, another exception occurred:

file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.60_ASA_sprint.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
                assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
        except Exception as e:
            # File can't be read, header sections missing, whatever the case, this shouldn't happen!
>           assert False, "Got an exception while reading the file {file_name}: {err}".format(file_name = file_name, err = str(e))
E           AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.60_ASA_sprint.inst.cfg: The version of this profile is not up to date!
E             assert 23 == 24
E              +  where 23 = int('23')
E              +  and   24 = CuraApplication.SettingVersion
E           assert False

Settings/TestProfiles.py:167: AssertionError

Check warning on line 0 in tests.Settings.TestProfiles

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_versionUpToDate[/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.50_TPU_normal.inst.cfg] (tests.Settings.TestProfiles) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.50_TPU_normal.inst.cfg: The version of this profile is not up to date!
  assert 23 == 24
   +  where 23 = int('23')
   +  and   24 = CuraApplication.SettingVersion
assert False
file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.50_TPU_normal.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
>               assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
E               AssertionError: The version of this profile is not up to date!
E               assert 23 == 24
E                +  where 23 = int('23')
E                +  and   24 = CuraApplication.SettingVersion

Settings/TestProfiles.py:164: AssertionError

During handling of the above exception, another exception occurred:

file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.50_TPU_normal.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
                assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
        except Exception as e:
            # File can't be read, header sections missing, whatever the case, this shouldn't happen!
>           assert False, "Got an exception while reading the file {file_name}: {err}".format(file_name = file_name, err = str(e))
E           AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.50_TPU_normal.inst.cfg: The version of this profile is not up to date!
E             assert 23 == 24
E              +  where 23 = int('23')
E              +  and   24 = CuraApplication.SettingVersion
E           assert False

Settings/TestProfiles.py:167: AssertionError

Check warning on line 0 in tests.Settings.TestProfiles

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_versionUpToDate[/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.50_ASA_normal.inst.cfg] (tests.Settings.TestProfiles) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.50_ASA_normal.inst.cfg: The version of this profile is not up to date!
  assert 23 == 24
   +  where 23 = int('23')
   +  and   24 = CuraApplication.SettingVersion
assert False
file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.50_ASA_normal.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
>               assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
E               AssertionError: The version of this profile is not up to date!
E               assert 23 == 24
E                +  where 23 = int('23')
E                +  and   24 = CuraApplication.SettingVersion

Settings/TestProfiles.py:164: AssertionError

During handling of the above exception, another exception occurred:

file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.50_ASA_normal.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
                assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
        except Exception as e:
            # File can't be read, header sections missing, whatever the case, this shouldn't happen!
>           assert False, "Got an exception while reading the file {file_name}: {err}".format(file_name = file_name, err = str(e))
E           AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.50_ASA_normal.inst.cfg: The version of this profile is not up to date!
E             assert 23 == 24
E              +  where 23 = int('23')
E              +  and   24 = CuraApplication.SettingVersion
E           assert False

Settings/TestProfiles.py:167: AssertionError

Check warning on line 0 in tests.Settings.TestProfiles

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_versionUpToDate[/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.25_ASA_normal.inst.cfg] (tests.Settings.TestProfiles) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.25_ASA_normal.inst.cfg: The version of this profile is not up to date!
  assert 23 == 24
   +  where 23 = int('23')
   +  and   24 = CuraApplication.SettingVersion
assert False
file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.25_ASA_normal.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
>               assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
E               AssertionError: The version of this profile is not up to date!
E               assert 23 == 24
E                +  where 23 = int('23')
E                +  and   24 = CuraApplication.SettingVersion

Settings/TestProfiles.py:164: AssertionError

During handling of the above exception, another exception occurred:

file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.25_ASA_normal.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
                assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
        except Exception as e:
            # File can't be read, header sections missing, whatever the case, this shouldn't happen!
>           assert False, "Got an exception while reading the file {file_name}: {err}".format(file_name = file_name, err = str(e))
E           AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.25_ASA_normal.inst.cfg: The version of this profile is not up to date!
E             assert 23 == 24
E              +  where 23 = int('23')
E              +  and   24 = CuraApplication.SettingVersion
E           assert False

Settings/TestProfiles.py:167: AssertionError

Check warning on line 0 in tests.Settings.TestProfiles

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_versionUpToDate[/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.60_ASA_extrafast.inst.cfg] (tests.Settings.TestProfiles) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.60_ASA_extrafast.inst.cfg: The version of this profile is not up to date!
  assert 23 == 24
   +  where 23 = int('23')
   +  and   24 = CuraApplication.SettingVersion
assert False
file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.60_ASA_extrafast.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
>               assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
E               AssertionError: The version of this profile is not up to date!
E               assert 23 == 24
E                +  where 23 = int('23')
E                +  and   24 = CuraApplication.SettingVersion

Settings/TestProfiles.py:164: AssertionError

During handling of the above exception, another exception occurred:

file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.60_ASA_extrafast.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
                assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
        except Exception as e:
            # File can't be read, header sections missing, whatever the case, this shouldn't happen!
>           assert False, "Got an exception while reading the file {file_name}: {err}".format(file_name = file_name, err = str(e))
E           AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.60_ASA_extrafast.inst.cfg: The version of this profile is not up to date!
E             assert 23 == 24
E              +  where 23 = int('23')
E              +  and   24 = CuraApplication.SettingVersion
E           assert False

Settings/TestProfiles.py:167: AssertionError

Check warning on line 0 in tests.Settings.TestProfiles

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_versionUpToDate[/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.25_PVA_extrafine.inst.cfg] (tests.Settings.TestProfiles) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.25_PVA_extrafine.inst.cfg: The version of this profile is not up to date!
  assert 23 == 24
   +  where 23 = int('23')
   +  and   24 = CuraApplication.SettingVersion
assert False
file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.25_PVA_extrafine.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
>               assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
E               AssertionError: The version of this profile is not up to date!
E               assert 23 == 24
E                +  where 23 = int('23')
E                +  and   24 = CuraApplication.SettingVersion

Settings/TestProfiles.py:164: AssertionError

During handling of the above exception, another exception occurred:

file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.25_PVA_extrafine.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
                assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
        except Exception as e:
            # File can't be read, header sections missing, whatever the case, this shouldn't happen!
>           assert False, "Got an exception while reading the file {file_name}: {err}".format(file_name = file_name, err = str(e))
E           AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.25_PVA_extrafine.inst.cfg: The version of this profile is not up to date!
E             assert 23 == 24
E              +  where 23 = int('23')
E              +  and   24 = CuraApplication.SettingVersion
E           assert False

Settings/TestProfiles.py:167: AssertionError

Check warning on line 0 in tests.Settings.TestProfiles

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_versionUpToDate[/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.50_TPU_sprint.inst.cfg] (tests.Settings.TestProfiles) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.50_TPU_sprint.inst.cfg: The version of this profile is not up to date!
  assert 23 == 24
   +  where 23 = int('23')
   +  and   24 = CuraApplication.SettingVersion
assert False
file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.50_TPU_sprint.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
>               assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
E               AssertionError: The version of this profile is not up to date!
E               assert 23 == 24
E                +  where 23 = int('23')
E                +  and   24 = CuraApplication.SettingVersion

Settings/TestProfiles.py:164: AssertionError

During handling of the above exception, another exception occurred:

file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.50_TPU_sprint.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
                assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
        except Exception as e:
            # File can't be read, header sections missing, whatever the case, this shouldn't happen!
>           assert False, "Got an exception while reading the file {file_name}: {err}".format(file_name = file_name, err = str(e))
E           AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.50_TPU_sprint.inst.cfg: The version of this profile is not up to date!
E             assert 23 == 24
E              +  where 23 = int('23')
E              +  and   24 = CuraApplication.SettingVersion
E           assert False

Settings/TestProfiles.py:167: AssertionError

Check warning on line 0 in tests.Settings.TestProfiles

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_versionUpToDate[/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.50_PVA_extrafast.inst.cfg] (tests.Settings.TestProfiles) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.50_PVA_extrafast.inst.cfg: The version of this profile is not up to date!
  assert 23 == 24
   +  where 23 = int('23')
   +  and   24 = CuraApplication.SettingVersion
assert False
file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.50_PVA_extrafast.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
>               assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
E               AssertionError: The version of this profile is not up to date!
E               assert 23 == 24
E                +  where 23 = int('23')
E                +  and   24 = CuraApplication.SettingVersion

Settings/TestProfiles.py:164: AssertionError

During handling of the above exception, another exception occurred:

file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.50_PVA_extrafast.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
                assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
        except Exception as e:
            # File can't be read, header sections missing, whatever the case, this shouldn't happen!
>           assert False, "Got an exception while reading the file {file_name}: {err}".format(file_name = file_name, err = str(e))
E           AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.50_PVA_extrafast.inst.cfg: The version of this profile is not up to date!
E             assert 23 == 24
E              +  where 23 = int('23')
E              +  and   24 = CuraApplication.SettingVersion
E           assert False

Settings/TestProfiles.py:167: AssertionError

Check warning on line 0 in tests.Settings.TestProfiles

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_versionUpToDate[/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_1.20_TPU_sprint.inst.cfg] (tests.Settings.TestProfiles) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_1.20_TPU_sprint.inst.cfg: The version of this profile is not up to date!
  assert 23 == 24
   +  where 23 = int('23')
   +  and   24 = CuraApplication.SettingVersion
assert False
file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_1.20_TPU_sprint.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
>               assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
E               AssertionError: The version of this profile is not up to date!
E               assert 23 == 24
E                +  where 23 = int('23')
E                +  and   24 = CuraApplication.SettingVersion

Settings/TestProfiles.py:164: AssertionError

During handling of the above exception, another exception occurred:

file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_1.20_TPU_sprint.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
                assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
        except Exception as e:
            # File can't be read, header sections missing, whatever the case, this shouldn't happen!
>           assert False, "Got an exception while reading the file {file_name}: {err}".format(file_name = file_name, err = str(e))
E           AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_1.20_TPU_sprint.inst.cfg: The version of this profile is not up to date!
E             assert 23 == 24
E              +  where 23 = int('23')
E              +  and   24 = CuraApplication.SettingVersion
E           assert False

Settings/TestProfiles.py:167: AssertionError

Check warning on line 0 in tests.Settings.TestProfiles

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_versionUpToDate[/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_0.80_PVA_supersprint.inst.cfg] (tests.Settings.TestProfiles) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_0.80_PVA_supersprint.inst.cfg: The version of this profile is not up to date!
  assert 23 == 24
   +  where 23 = int('23')
   +  and   24 = CuraApplication.SettingVersion
assert False
file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_0.80_PVA_supersprint.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
>               assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
E               AssertionError: The version of this profile is not up to date!
E               assert 23 == 24
E                +  where 23 = int('23')
E                +  and   24 = CuraApplication.SettingVersion

Settings/TestProfiles.py:164: AssertionError

During handling of the above exception, another exception occurred:

file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_0.80_PVA_supersprint.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
                assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
        except Exception as e:
            # File can't be read, header sections missing, whatever the case, this shouldn't happen!
>           assert False, "Got an exception while reading the file {file_name}: {err}".format(file_name = file_name, err = str(e))
E           AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_0.80_PVA_supersprint.inst.cfg: The version of this profile is not up to date!
E             assert 23 == 24
E              +  where 23 = int('23')
E              +  and   24 = CuraApplication.SettingVersion
E           assert False

Settings/TestProfiles.py:167: AssertionError

Check warning on line 0 in tests.Settings.TestProfiles

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_versionUpToDate[/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.60_PVA_extrafast.inst.cfg] (tests.Settings.TestProfiles) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.60_PVA_extrafast.inst.cfg: The version of this profile is not up to date!
  assert 23 == 24
   +  where 23 = int('23')
   +  and   24 = CuraApplication.SettingVersion
assert False
file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.60_PVA_extrafast.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
>               assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
E               AssertionError: The version of this profile is not up to date!
E               assert 23 == 24
E                +  where 23 = int('23')
E                +  and   24 = CuraApplication.SettingVersion

Settings/TestProfiles.py:164: AssertionError

During handling of the above exception, another exception occurred:

file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.60_PVA_extrafast.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
                assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
        except Exception as e:
            # File can't be read, header sections missing, whatever the case, this shouldn't happen!
>           assert False, "Got an exception while reading the file {file_name}: {err}".format(file_name = file_name, err = str(e))
E           AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.60_PVA_extrafast.inst.cfg: The version of this profile is not up to date!
E             assert 23 == 24
E              +  where 23 = int('23')
E              +  and   24 = CuraApplication.SettingVersion
E           assert False

Settings/TestProfiles.py:167: AssertionError

Check warning on line 0 in tests.Settings.TestProfiles

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_versionUpToDate[/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.35_TPU_normal.inst.cfg] (tests.Settings.TestProfiles) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.35_TPU_normal.inst.cfg: The version of this profile is not up to date!
  assert 23 == 24
   +  where 23 = int('23')
   +  and   24 = CuraApplication.SettingVersion
assert False
file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.35_TPU_normal.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
>               assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
E               AssertionError: The version of this profile is not up to date!
E               assert 23 == 24
E                +  where 23 = int('23')
E                +  and   24 = CuraApplication.SettingVersion

Settings/TestProfiles.py:164: AssertionError

During handling of the above exception, another exception occurred:

file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.35_TPU_normal.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
                assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
        except Exception as e:
            # File can't be read, header sections missing, whatever the case, this shouldn't happen!
>           assert False, "Got an exception while reading the file {file_name}: {err}".format(file_name = file_name, err = str(e))
E           AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.35_TPU_normal.inst.cfg: The version of this profile is not up to date!
E             assert 23 == 24
E              +  where 23 = int('23')
E              +  and   24 = CuraApplication.SettingVersion
E           assert False

Settings/TestProfiles.py:167: AssertionError

Check warning on line 0 in tests.Settings.TestProfiles

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_versionUpToDate[/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.50_PVA_fast.inst.cfg] (tests.Settings.TestProfiles) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.50_PVA_fast.inst.cfg: The version of this profile is not up to date!
  assert 23 == 24
   +  where 23 = int('23')
   +  and   24 = CuraApplication.SettingVersion
assert False
file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.50_PVA_fast.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
>               assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
E               AssertionError: The version of this profile is not up to date!
E               assert 23 == 24
E                +  where 23 = int('23')
E                +  and   24 = CuraApplication.SettingVersion

Settings/TestProfiles.py:164: AssertionError

During handling of the above exception, another exception occurred:

file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.50_PVA_fast.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
                assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
        except Exception as e:
            # File can't be read, header sections missing, whatever the case, this shouldn't happen!
>           assert False, "Got an exception while reading the file {file_name}: {err}".format(file_name = file_name, err = str(e))
E           AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.50_PVA_fast.inst.cfg: The version of this profile is not up to date!
E             assert 23 == 24
E              +  where 23 = int('23')
E              +  and   24 = CuraApplication.SettingVersion
E           assert False

Settings/TestProfiles.py:167: AssertionError

Check warning on line 0 in tests.Settings.TestProfiles

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_versionUpToDate[/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_0.60_PVA_fast.inst.cfg] (tests.Settings.TestProfiles) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_0.60_PVA_fast.inst.cfg: The version of this profile is not up to date!
  assert 23 == 24
   +  where 23 = int('23')
   +  and   24 = CuraApplication.SettingVersion
assert False
file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_0.60_PVA_fast.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
>               assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
E               AssertionError: The version of this profile is not up to date!
E               assert 23 == 24
E                +  where 23 = int('23')
E                +  and   24 = CuraApplication.SettingVersion

Settings/TestProfiles.py:164: AssertionError

During handling of the above exception, another exception occurred:

file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_0.60_PVA_fast.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
                assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
        except Exception as e:
            # File can't be read, header sections missing, whatever the case, this shouldn't happen!
>           assert False, "Got an exception while reading the file {file_name}: {err}".format(file_name = file_name, err = str(e))
E           AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_0.60_PVA_fast.inst.cfg: The version of this profile is not up to date!
E             assert 23 == 24
E              +  where 23 = int('23')
E              +  and   24 = CuraApplication.SettingVersion
E           assert False

Settings/TestProfiles.py:167: AssertionError

Check warning on line 0 in tests.Settings.TestProfiles

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_versionUpToDate[/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.40_ASA_extrafast.inst.cfg] (tests.Settings.TestProfiles) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.40_ASA_extrafast.inst.cfg: The version of this profile is not up to date!
  assert 23 == 24
   +  where 23 = int('23')
   +  and   24 = CuraApplication.SettingVersion
assert False
file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.40_ASA_extrafast.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
>               assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
E               AssertionError: The version of this profile is not up to date!
E               assert 23 == 24
E                +  where 23 = int('23')
E                +  and   24 = CuraApplication.SettingVersion

Settings/TestProfiles.py:164: AssertionError

During handling of the above exception, another exception occurred:

file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.40_ASA_extrafast.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
                assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
        except Exception as e:
            # File can't be read, header sections missing, whatever the case, this shouldn't happen!
>           assert False, "Got an exception while reading the file {file_name}: {err}".format(file_name = file_name, err = str(e))
E           AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.40_ASA_extrafast.inst.cfg: The version of this profile is not up to date!
E             assert 23 == 24
E              +  where 23 = int('23')
E              +  and   24 = CuraApplication.SettingVersion
E           assert False

Settings/TestProfiles.py:167: AssertionError

Check warning on line 0 in tests.Settings.TestProfiles

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_versionUpToDate[/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_0.40_PVA_fast.inst.cfg] (tests.Settings.TestProfiles) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_0.40_PVA_fast.inst.cfg: The version of this profile is not up to date!
  assert 23 == 24
   +  where 23 = int('23')
   +  and   24 = CuraApplication.SettingVersion
assert False
file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_0.40_PVA_fast.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
>               assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
E               AssertionError: The version of this profile is not up to date!
E               assert 23 == 24
E                +  where 23 = int('23')
E                +  and   24 = CuraApplication.SettingVersion

Settings/TestProfiles.py:164: AssertionError

During handling of the above exception, another exception occurred:

file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_0.40_PVA_fast.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
                assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
        except Exception as e:
            # File can't be read, header sections missing, whatever the case, this shouldn't happen!
>           assert False, "Got an exception while reading the file {file_name}: {err}".format(file_name = file_name, err = str(e))
E           AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_0.40_PVA_fast.inst.cfg: The version of this profile is not up to date!
E             assert 23 == 24
E              +  where 23 = int('23')
E              +  and   24 = CuraApplication.SettingVersion
E           assert False

Settings/TestProfiles.py:167: AssertionError

Check warning on line 0 in tests.Settings.TestProfiles

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_versionUpToDate[/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.80_TPU_sprint.inst.cfg] (tests.Settings.TestProfiles) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.80_TPU_sprint.inst.cfg: The version of this profile is not up to date!
  assert 23 == 24
   +  where 23 = int('23')
   +  and   24 = CuraApplication.SettingVersion
assert False
file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.80_TPU_sprint.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
>               assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
E               AssertionError: The version of this profile is not up to date!
E               assert 23 == 24
E                +  where 23 = int('23')
E                +  and   24 = CuraApplication.SettingVersion

Settings/TestProfiles.py:164: AssertionError

During handling of the above exception, another exception occurred:

file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.80_TPU_sprint.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
                assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
        except Exception as e:
            # File can't be read, header sections missing, whatever the case, this shouldn't happen!
>           assert False, "Got an exception while reading the file {file_name}: {err}".format(file_name = file_name, err = str(e))
E           AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.80_TPU_sprint.inst.cfg: The version of this profile is not up to date!
E             assert 23 == 24
E              +  where 23 = int('23')
E              +  and   24 = CuraApplication.SettingVersion
E           assert False

Settings/TestProfiles.py:167: AssertionError

Check warning on line 0 in tests.Settings.TestProfiles

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_versionUpToDate[/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_1.20_PVA_supersprint.inst.cfg] (tests.Settings.TestProfiles) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_1.20_PVA_supersprint.inst.cfg: The version of this profile is not up to date!
  assert 23 == 24
   +  where 23 = int('23')
   +  and   24 = CuraApplication.SettingVersion
assert False
file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_1.20_PVA_supersprint.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
>               assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
E               AssertionError: The version of this profile is not up to date!
E               assert 23 == 24
E                +  where 23 = int('23')
E                +  and   24 = CuraApplication.SettingVersion

Settings/TestProfiles.py:164: AssertionError

During handling of the above exception, another exception occurred:

file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_1.20_PVA_supersprint.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
                assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
        except Exception as e:
            # File can't be read, header sections missing, whatever the case, this shouldn't happen!
>           assert False, "Got an exception while reading the file {file_name}: {err}".format(file_name = file_name, err = str(e))
E           AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_1.20_PVA_supersprint.inst.cfg: The version of this profile is not up to date!
E             assert 23 == 24
E              +  where 23 = int('23')
E              +  and   24 = CuraApplication.SettingVersion
E           assert False

Settings/TestProfiles.py:167: AssertionError

Check warning on line 0 in tests.Settings.TestProfiles

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_versionUpToDate[/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.40_TPU_fast.inst.cfg] (tests.Settings.TestProfiles) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.40_TPU_fast.inst.cfg: The version of this profile is not up to date!
  assert 23 == 24
   +  where 23 = int('23')
   +  and   24 = CuraApplication.SettingVersion
assert False
file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.40_TPU_fast.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
>               assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
E               AssertionError: The version of this profile is not up to date!
E               assert 23 == 24
E                +  where 23 = int('23')
E                +  and   24 = CuraApplication.SettingVersion

Settings/TestProfiles.py:164: AssertionError

During handling of the above exception, another exception occurred:

file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.40_TPU_fast.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
                assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
        except Exception as e:
            # File can't be read, header sections missing, whatever the case, this shouldn't happen!
>           assert False, "Got an exception while reading the file {file_name}: {err}".format(file_name = file_name, err = str(e))
E           AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_v6_0.40_TPU_fast.inst.cfg: The version of this profile is not up to date!
E             assert 23 == 24
E              +  where 23 = int('23')
E              +  and   24 = CuraApplication.SettingVersion
E           assert False

Settings/TestProfiles.py:167: AssertionError

Check warning on line 0 in tests.Settings.TestProfiles

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_versionUpToDate[/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_1.00_PVA_supersprint.inst.cfg] (tests.Settings.TestProfiles) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_1.00_PVA_supersprint.inst.cfg: The version of this profile is not up to date!
  assert 23 == 24
   +  where 23 = int('23')
   +  and   24 = CuraApplication.SettingVersion
assert False
file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_1.00_PVA_supersprint.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
>               assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
E               AssertionError: The version of this profile is not up to date!
E               assert 23 == 24
E                +  where 23 = int('23')
E                +  and   24 = CuraApplication.SettingVersion

Settings/TestProfiles.py:164: AssertionError

During handling of the above exception, another exception occurred:

file_name = '/home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_1.00_PVA_supersprint.inst.cfg'

    @pytest.mark.parametrize("file_name", quality_filepaths + variant_filepaths + intent_filepaths)
    def test_versionUpToDate(file_name):
        try:
            with open(file_name, encoding = "utf-8") as data:
                parser = FastConfigParser(data.read())
    
                assert "general" in parser
                assert "version" in parser["general"]
                assert int(parser["general"]["version"]) == InstanceContainer.Version, "The version of this profile is not up to date!"
    
                assert "metadata" in parser
                assert "setting_version" in parser["metadata"]
                assert int(parser["metadata"]["setting_version"]) == CuraApplication.SettingVersion, "The version of this profile is not up to date!"
        except Exception as e:
            # File can't be read, header sections missing, whatever the case, this shouldn't happen!
>           assert False, "Got an exception while reading the file {file_name}: {err}".format(file_name = file_name, err = str(e))
E           AssertionError: Got an exception while reading the file /home/runner/work/Cura/Cura/resources/quality/voron2/voron2_volcano_1.00_PVA_supersprint.inst.cfg: The version of this profile is not up to date!
E             assert 23 == 24
E              +  where 23 = int('23')
E              +  and   24 = CuraApplication.SettingVersion
E           assert False

Settings/TestProfiles.py:167: AssertionError