Skip to content

CURA-11966 Reduce speed on overhang #3974

CURA-11966 Reduce speed on overhang

CURA-11966 Reduce speed on overhang #3974

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

171 fail, 2 skipped, 23 197 pass in 55s

23 370 tests   23 197 ✅  55s ⏱️
     1 suites       2 💤
     1 files       171 ❌

Results for commit 8fc9327.

Annotations

Check warning on line 0 in tests.Settings.TestDefinitionContainer

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_validateMachineDefinitionContainer[/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/ankermake_m5.def.json] (tests.Settings.TestDefinitionContainer) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
assert False
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/ankermake_m5.def.json'
definition_container = <DefContainer '5bc3fe9e-efb5-4490-9f7f-77a8812d84f1'>

    @pytest.mark.parametrize("file_path", machine_filepaths)
    def test_validateMachineDefinitionContainer(file_path, definition_container):
        """Tests all definition containers"""
    
        file_name = os.path.basename(file_path)
        if file_name == "fdmprinter.def.json" or file_name == "fdmextruder.def.json":
            return  # Stop checking, these are root files.
    
        mocked_vum = MagicMock()
        mocked_vum.updateFilesData = lambda ct, v, fdl, fnl: FilesDataUpdateResult(ct, v, fdl, fnl)
        with patch("UM.VersionUpgradeManager.VersionUpgradeManager.getInstance", MagicMock(return_value = mocked_vum)):
>           assertIsDefinitionValid(definition_container, file_path)

Settings/TestDefinitionContainer.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

definition_container = <DefContainer '5bc3fe9e-efb5-4490-9f7f-77a8812d84f1'>
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/ankermake_m5.def.json'

    def assertIsDefinitionValid(definition_container, file_path):
        with open(file_path, encoding = "utf-8") as data:
            json = data.read()
            parser, is_valid = definition_container.readAndValidateSerialized(json)
>           assert is_valid  # The definition has invalid JSON structure.
E           assert False

Settings/TestDefinitionContainer.py:81: AssertionError

Check warning on line 0 in tests.Settings.TestDefinitionContainer

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_validateMachineDefinitionContainer[/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/ankermake_m5c.def.json] (tests.Settings.TestDefinitionContainer) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
assert False
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/ankermake_m5c.def.json'
definition_container = <DefContainer '2f37ad06-298a-42b3-9db4-b870dd3596e5'>

    @pytest.mark.parametrize("file_path", machine_filepaths)
    def test_validateMachineDefinitionContainer(file_path, definition_container):
        """Tests all definition containers"""
    
        file_name = os.path.basename(file_path)
        if file_name == "fdmprinter.def.json" or file_name == "fdmextruder.def.json":
            return  # Stop checking, these are root files.
    
        mocked_vum = MagicMock()
        mocked_vum.updateFilesData = lambda ct, v, fdl, fnl: FilesDataUpdateResult(ct, v, fdl, fnl)
        with patch("UM.VersionUpgradeManager.VersionUpgradeManager.getInstance", MagicMock(return_value = mocked_vum)):
>           assertIsDefinitionValid(definition_container, file_path)

Settings/TestDefinitionContainer.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

definition_container = <DefContainer '2f37ad06-298a-42b3-9db4-b870dd3596e5'>
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/ankermake_m5c.def.json'

    def assertIsDefinitionValid(definition_container, file_path):
        with open(file_path, encoding = "utf-8") as data:
            json = data.read()
            parser, is_valid = definition_container.readAndValidateSerialized(json)
>           assert is_valid  # The definition has invalid JSON structure.
E           assert False

Settings/TestDefinitionContainer.py:81: AssertionError

Check warning on line 0 in tests.Settings.TestDefinitionContainer

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_validateMachineDefinitionContainer[/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_asterion.def.json] (tests.Settings.TestDefinitionContainer) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
assert False
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_asterion.def.json'
definition_container = <DefContainer '28cffd39-4721-4a2b-b4ca-c6a20328a3b2'>

    @pytest.mark.parametrize("file_path", machine_filepaths)
    def test_validateMachineDefinitionContainer(file_path, definition_container):
        """Tests all definition containers"""
    
        file_name = os.path.basename(file_path)
        if file_name == "fdmprinter.def.json" or file_name == "fdmextruder.def.json":
            return  # Stop checking, these are root files.
    
        mocked_vum = MagicMock()
        mocked_vum.updateFilesData = lambda ct, v, fdl, fnl: FilesDataUpdateResult(ct, v, fdl, fnl)
        with patch("UM.VersionUpgradeManager.VersionUpgradeManager.getInstance", MagicMock(return_value = mocked_vum)):
>           assertIsDefinitionValid(definition_container, file_path)

Settings/TestDefinitionContainer.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

definition_container = <DefContainer '28cffd39-4721-4a2b-b4ca-c6a20328a3b2'>
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_asterion.def.json'

    def assertIsDefinitionValid(definition_container, file_path):
        with open(file_path, encoding = "utf-8") as data:
            json = data.read()
            parser, is_valid = definition_container.readAndValidateSerialized(json)
>           assert is_valid  # The definition has invalid JSON structure.
E           assert False

Settings/TestDefinitionContainer.py:81: AssertionError

Check warning on line 0 in tests.Settings.TestDefinitionContainer

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_validateMachineDefinitionContainer[/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_asterion_ht.def.json] (tests.Settings.TestDefinitionContainer) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
assert False
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_asterion_ht.def.json'
definition_container = <DefContainer '2d38cf4b-27b1-45f8-a8fd-f36690d16114'>

    @pytest.mark.parametrize("file_path", machine_filepaths)
    def test_validateMachineDefinitionContainer(file_path, definition_container):
        """Tests all definition containers"""
    
        file_name = os.path.basename(file_path)
        if file_name == "fdmprinter.def.json" or file_name == "fdmextruder.def.json":
            return  # Stop checking, these are root files.
    
        mocked_vum = MagicMock()
        mocked_vum.updateFilesData = lambda ct, v, fdl, fnl: FilesDataUpdateResult(ct, v, fdl, fnl)
        with patch("UM.VersionUpgradeManager.VersionUpgradeManager.getInstance", MagicMock(return_value = mocked_vum)):
>           assertIsDefinitionValid(definition_container, file_path)

Settings/TestDefinitionContainer.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

definition_container = <DefContainer '2d38cf4b-27b1-45f8-a8fd-f36690d16114'>
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_asterion_ht.def.json'

    def assertIsDefinitionValid(definition_container, file_path):
        with open(file_path, encoding = "utf-8") as data:
            json = data.read()
            parser, is_valid = definition_container.readAndValidateSerialized(json)
>           assert is_valid  # The definition has invalid JSON structure.
E           assert False

Settings/TestDefinitionContainer.py:81: AssertionError

Check warning on line 0 in tests.Settings.TestDefinitionContainer

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_validateMachineDefinitionContainer[/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_galaxy_500.def.json] (tests.Settings.TestDefinitionContainer) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
assert False
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_galaxy_500.def.json'
definition_container = <DefContainer 'a31545f5-e456-4a55-a654-3acf3cef41ce'>

    @pytest.mark.parametrize("file_path", machine_filepaths)
    def test_validateMachineDefinitionContainer(file_path, definition_container):
        """Tests all definition containers"""
    
        file_name = os.path.basename(file_path)
        if file_name == "fdmprinter.def.json" or file_name == "fdmextruder.def.json":
            return  # Stop checking, these are root files.
    
        mocked_vum = MagicMock()
        mocked_vum.updateFilesData = lambda ct, v, fdl, fnl: FilesDataUpdateResult(ct, v, fdl, fnl)
        with patch("UM.VersionUpgradeManager.VersionUpgradeManager.getInstance", MagicMock(return_value = mocked_vum)):
>           assertIsDefinitionValid(definition_container, file_path)

Settings/TestDefinitionContainer.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

definition_container = <DefContainer 'a31545f5-e456-4a55-a654-3acf3cef41ce'>
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_galaxy_500.def.json'

    def assertIsDefinitionValid(definition_container, file_path):
        with open(file_path, encoding = "utf-8") as data:
            json = data.read()
            parser, is_valid = definition_container.readAndValidateSerialized(json)
>           assert is_valid  # The definition has invalid JSON structure.
E           assert False

Settings/TestDefinitionContainer.py:81: AssertionError

Check warning on line 0 in tests.Settings.TestDefinitionContainer

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_validateMachineDefinitionContainer[/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_galaxy_600.def.json] (tests.Settings.TestDefinitionContainer) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
assert False
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_galaxy_600.def.json'
definition_container = <DefContainer '31b60e9b-f43f-4f28-9d71-36a88cc3d800'>

    @pytest.mark.parametrize("file_path", machine_filepaths)
    def test_validateMachineDefinitionContainer(file_path, definition_container):
        """Tests all definition containers"""
    
        file_name = os.path.basename(file_path)
        if file_name == "fdmprinter.def.json" or file_name == "fdmextruder.def.json":
            return  # Stop checking, these are root files.
    
        mocked_vum = MagicMock()
        mocked_vum.updateFilesData = lambda ct, v, fdl, fnl: FilesDataUpdateResult(ct, v, fdl, fnl)
        with patch("UM.VersionUpgradeManager.VersionUpgradeManager.getInstance", MagicMock(return_value = mocked_vum)):
>           assertIsDefinitionValid(definition_container, file_path)

Settings/TestDefinitionContainer.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

definition_container = <DefContainer '31b60e9b-f43f-4f28-9d71-36a88cc3d800'>
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_galaxy_600.def.json'

    def assertIsDefinitionValid(definition_container, file_path):
        with open(file_path, encoding = "utf-8") as data:
            json = data.read()
            parser, is_valid = definition_container.readAndValidateSerialized(json)
>           assert is_valid  # The definition has invalid JSON structure.
E           assert False

Settings/TestDefinitionContainer.py:81: AssertionError

Check warning on line 0 in tests.Settings.TestDefinitionContainer

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_validateMachineDefinitionContainer[/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_pro_300_v1.def.json] (tests.Settings.TestDefinitionContainer) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
assert False
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_pro_300_v1.def.json'
definition_container = <DefContainer '579bd662-c859-4ae5-93d3-2d77af49c985'>

    @pytest.mark.parametrize("file_path", machine_filepaths)
    def test_validateMachineDefinitionContainer(file_path, definition_container):
        """Tests all definition containers"""
    
        file_name = os.path.basename(file_path)
        if file_name == "fdmprinter.def.json" or file_name == "fdmextruder.def.json":
            return  # Stop checking, these are root files.
    
        mocked_vum = MagicMock()
        mocked_vum.updateFilesData = lambda ct, v, fdl, fnl: FilesDataUpdateResult(ct, v, fdl, fnl)
        with patch("UM.VersionUpgradeManager.VersionUpgradeManager.getInstance", MagicMock(return_value = mocked_vum)):
>           assertIsDefinitionValid(definition_container, file_path)

Settings/TestDefinitionContainer.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

definition_container = <DefContainer '579bd662-c859-4ae5-93d3-2d77af49c985'>
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_pro_300_v1.def.json'

    def assertIsDefinitionValid(definition_container, file_path):
        with open(file_path, encoding = "utf-8") as data:
            json = data.read()
            parser, is_valid = definition_container.readAndValidateSerialized(json)
>           assert is_valid  # The definition has invalid JSON structure.
E           assert False

Settings/TestDefinitionContainer.py:81: AssertionError

Check warning on line 0 in tests.Settings.TestDefinitionContainer

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_validateMachineDefinitionContainer[/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_pro_300_v2.def.json] (tests.Settings.TestDefinitionContainer) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
assert False
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_pro_300_v2.def.json'
definition_container = <DefContainer '5740b25c-c238-40af-900e-2dde3caad064'>

    @pytest.mark.parametrize("file_path", machine_filepaths)
    def test_validateMachineDefinitionContainer(file_path, definition_container):
        """Tests all definition containers"""
    
        file_name = os.path.basename(file_path)
        if file_name == "fdmprinter.def.json" or file_name == "fdmextruder.def.json":
            return  # Stop checking, these are root files.
    
        mocked_vum = MagicMock()
        mocked_vum.updateFilesData = lambda ct, v, fdl, fnl: FilesDataUpdateResult(ct, v, fdl, fnl)
        with patch("UM.VersionUpgradeManager.VersionUpgradeManager.getInstance", MagicMock(return_value = mocked_vum)):
>           assertIsDefinitionValid(definition_container, file_path)

Settings/TestDefinitionContainer.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

definition_container = <DefContainer '5740b25c-c238-40af-900e-2dde3caad064'>
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_pro_300_v2.def.json'

    def assertIsDefinitionValid(definition_container, file_path):
        with open(file_path, encoding = "utf-8") as data:
            json = data.read()
            parser, is_valid = definition_container.readAndValidateSerialized(json)
>           assert is_valid  # The definition has invalid JSON structure.
E           assert False

Settings/TestDefinitionContainer.py:81: AssertionError

Check warning on line 0 in tests.Settings.TestDefinitionContainer

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_validateMachineDefinitionContainer[/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_pro_400_v1.def.json] (tests.Settings.TestDefinitionContainer) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
assert False
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_pro_400_v1.def.json'
definition_container = <DefContainer '77a5361d-4b69-4f8a-a812-4af839496cff'>

    @pytest.mark.parametrize("file_path", machine_filepaths)
    def test_validateMachineDefinitionContainer(file_path, definition_container):
        """Tests all definition containers"""
    
        file_name = os.path.basename(file_path)
        if file_name == "fdmprinter.def.json" or file_name == "fdmextruder.def.json":
            return  # Stop checking, these are root files.
    
        mocked_vum = MagicMock()
        mocked_vum.updateFilesData = lambda ct, v, fdl, fnl: FilesDataUpdateResult(ct, v, fdl, fnl)
        with patch("UM.VersionUpgradeManager.VersionUpgradeManager.getInstance", MagicMock(return_value = mocked_vum)):
>           assertIsDefinitionValid(definition_container, file_path)

Settings/TestDefinitionContainer.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

definition_container = <DefContainer '77a5361d-4b69-4f8a-a812-4af839496cff'>
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_pro_400_v1.def.json'

    def assertIsDefinitionValid(definition_container, file_path):
        with open(file_path, encoding = "utf-8") as data:
            json = data.read()
            parser, is_valid = definition_container.readAndValidateSerialized(json)
>           assert is_valid  # The definition has invalid JSON structure.
E           assert False

Settings/TestDefinitionContainer.py:81: AssertionError

Check warning on line 0 in tests.Settings.TestDefinitionContainer

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_validateMachineDefinitionContainer[/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_pro_400_v2.def.json] (tests.Settings.TestDefinitionContainer) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
assert False
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_pro_400_v2.def.json'
definition_container = <DefContainer '6ef6c788-2139-4bc2-8d96-6a3b268b5a5a'>

    @pytest.mark.parametrize("file_path", machine_filepaths)
    def test_validateMachineDefinitionContainer(file_path, definition_container):
        """Tests all definition containers"""
    
        file_name = os.path.basename(file_path)
        if file_name == "fdmprinter.def.json" or file_name == "fdmextruder.def.json":
            return  # Stop checking, these are root files.
    
        mocked_vum = MagicMock()
        mocked_vum.updateFilesData = lambda ct, v, fdl, fnl: FilesDataUpdateResult(ct, v, fdl, fnl)
        with patch("UM.VersionUpgradeManager.VersionUpgradeManager.getInstance", MagicMock(return_value = mocked_vum)):
>           assertIsDefinitionValid(definition_container, file_path)

Settings/TestDefinitionContainer.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

definition_container = <DefContainer '6ef6c788-2139-4bc2-8d96-6a3b268b5a5a'>
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_pro_400_v2.def.json'

    def assertIsDefinitionValid(definition_container, file_path):
        with open(file_path, encoding = "utf-8") as data:
            json = data.read()
            parser, is_valid = definition_container.readAndValidateSerialized(json)
>           assert is_valid  # The definition has invalid JSON structure.
E           assert False

Settings/TestDefinitionContainer.py:81: AssertionError

Check warning on line 0 in tests.Settings.TestDefinitionContainer

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_validateMachineDefinitionContainer[/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_pro_500_v1.def.json] (tests.Settings.TestDefinitionContainer) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
assert False
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_pro_500_v1.def.json'
definition_container = <DefContainer '5760344c-f813-4713-a85f-3bfa6387f8dd'>

    @pytest.mark.parametrize("file_path", machine_filepaths)
    def test_validateMachineDefinitionContainer(file_path, definition_container):
        """Tests all definition containers"""
    
        file_name = os.path.basename(file_path)
        if file_name == "fdmprinter.def.json" or file_name == "fdmextruder.def.json":
            return  # Stop checking, these are root files.
    
        mocked_vum = MagicMock()
        mocked_vum.updateFilesData = lambda ct, v, fdl, fnl: FilesDataUpdateResult(ct, v, fdl, fnl)
        with patch("UM.VersionUpgradeManager.VersionUpgradeManager.getInstance", MagicMock(return_value = mocked_vum)):
>           assertIsDefinitionValid(definition_container, file_path)

Settings/TestDefinitionContainer.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

definition_container = <DefContainer '5760344c-f813-4713-a85f-3bfa6387f8dd'>
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_pro_500_v1.def.json'

    def assertIsDefinitionValid(definition_container, file_path):
        with open(file_path, encoding = "utf-8") as data:
            json = data.read()
            parser, is_valid = definition_container.readAndValidateSerialized(json)
>           assert is_valid  # The definition has invalid JSON structure.
E           assert False

Settings/TestDefinitionContainer.py:81: AssertionError

Check warning on line 0 in tests.Settings.TestDefinitionContainer

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_validateMachineDefinitionContainer[/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_pro_500_v2.def.json] (tests.Settings.TestDefinitionContainer) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
assert False
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_pro_500_v2.def.json'
definition_container = <DefContainer '8a43f199-e71b-4a0a-bb50-bba9f0186c84'>

    @pytest.mark.parametrize("file_path", machine_filepaths)
    def test_validateMachineDefinitionContainer(file_path, definition_container):
        """Tests all definition containers"""
    
        file_name = os.path.basename(file_path)
        if file_name == "fdmprinter.def.json" or file_name == "fdmextruder.def.json":
            return  # Stop checking, these are root files.
    
        mocked_vum = MagicMock()
        mocked_vum.updateFilesData = lambda ct, v, fdl, fnl: FilesDataUpdateResult(ct, v, fdl, fnl)
        with patch("UM.VersionUpgradeManager.VersionUpgradeManager.getInstance", MagicMock(return_value = mocked_vum)):
>           assertIsDefinitionValid(definition_container, file_path)

Settings/TestDefinitionContainer.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

definition_container = <DefContainer '8a43f199-e71b-4a0a-bb50-bba9f0186c84'>
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_pro_500_v2.def.json'

    def assertIsDefinitionValid(definition_container, file_path):
        with open(file_path, encoding = "utf-8") as data:
            json = data.read()
            parser, is_valid = definition_container.readAndValidateSerialized(json)
>           assert is_valid  # The definition has invalid JSON structure.
E           assert False

Settings/TestDefinitionContainer.py:81: AssertionError

Check warning on line 0 in tests.Settings.TestDefinitionContainer

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_validateMachineDefinitionContainer[/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_pro_base.def.json] (tests.Settings.TestDefinitionContainer) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
assert False
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_pro_base.def.json'
definition_container = <DefContainer 'd2ffa3e7-fcde-4bf5-a28c-261341f123ae'>

    @pytest.mark.parametrize("file_path", machine_filepaths)
    def test_validateMachineDefinitionContainer(file_path, definition_container):
        """Tests all definition containers"""
    
        file_name = os.path.basename(file_path)
        if file_name == "fdmprinter.def.json" or file_name == "fdmextruder.def.json":
            return  # Stop checking, these are root files.
    
        mocked_vum = MagicMock()
        mocked_vum.updateFilesData = lambda ct, v, fdl, fnl: FilesDataUpdateResult(ct, v, fdl, fnl)
        with patch("UM.VersionUpgradeManager.VersionUpgradeManager.getInstance", MagicMock(return_value = mocked_vum)):
>           assertIsDefinitionValid(definition_container, file_path)

Settings/TestDefinitionContainer.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

definition_container = <DefContainer 'd2ffa3e7-fcde-4bf5-a28c-261341f123ae'>
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_pro_base.def.json'

    def assertIsDefinitionValid(definition_container, file_path):
        with open(file_path, encoding = "utf-8") as data:
            json = data.read()
            parser, is_valid = definition_container.readAndValidateSerialized(json)
>           assert is_valid  # The definition has invalid JSON structure.
E           assert False

Settings/TestDefinitionContainer.py:81: AssertionError

Check warning on line 0 in tests.Settings.TestDefinitionContainer

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_validateMachineDefinitionContainer[/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_xl.def.json] (tests.Settings.TestDefinitionContainer) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
assert False
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_xl.def.json'
definition_container = <DefContainer '5280498f-5c63-475b-a811-97add17483a3'>

    @pytest.mark.parametrize("file_path", machine_filepaths)
    def test_validateMachineDefinitionContainer(file_path, definition_container):
        """Tests all definition containers"""
    
        file_name = os.path.basename(file_path)
        if file_name == "fdmprinter.def.json" or file_name == "fdmextruder.def.json":
            return  # Stop checking, these are root files.
    
        mocked_vum = MagicMock()
        mocked_vum.updateFilesData = lambda ct, v, fdl, fnl: FilesDataUpdateResult(ct, v, fdl, fnl)
        with patch("UM.VersionUpgradeManager.VersionUpgradeManager.getInstance", MagicMock(return_value = mocked_vum)):
>           assertIsDefinitionValid(definition_container, file_path)

Settings/TestDefinitionContainer.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

definition_container = <DefContainer '5280498f-5c63-475b-a811-97add17483a3'>
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_xl.def.json'

    def assertIsDefinitionValid(definition_container, file_path):
        with open(file_path, encoding = "utf-8") as data:
            json = data.read()
            parser, is_valid = definition_container.readAndValidateSerialized(json)
>           assert is_valid  # The definition has invalid JSON structure.
E           assert False

Settings/TestDefinitionContainer.py:81: AssertionError

Check warning on line 0 in tests.Settings.TestDefinitionContainer

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_validateMachineDefinitionContainer[/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_xxl.def.json] (tests.Settings.TestDefinitionContainer) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
assert False
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_xxl.def.json'
definition_container = <DefContainer '0addee69-38c1-47cf-8852-bc92c054ef1a'>

    @pytest.mark.parametrize("file_path", machine_filepaths)
    def test_validateMachineDefinitionContainer(file_path, definition_container):
        """Tests all definition containers"""
    
        file_name = os.path.basename(file_path)
        if file_name == "fdmprinter.def.json" or file_name == "fdmextruder.def.json":
            return  # Stop checking, these are root files.
    
        mocked_vum = MagicMock()
        mocked_vum.updateFilesData = lambda ct, v, fdl, fnl: FilesDataUpdateResult(ct, v, fdl, fnl)
        with patch("UM.VersionUpgradeManager.VersionUpgradeManager.getInstance", MagicMock(return_value = mocked_vum)):
>           assertIsDefinitionValid(definition_container, file_path)

Settings/TestDefinitionContainer.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

definition_container = <DefContainer '0addee69-38c1-47cf-8852-bc92c054ef1a'>
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_xxl.def.json'

    def assertIsDefinitionValid(definition_container, file_path):
        with open(file_path, encoding = "utf-8") as data:
            json = data.read()
            parser, is_valid = definition_container.readAndValidateSerialized(json)
>           assert is_valid  # The definition has invalid JSON structure.
E           assert False

Settings/TestDefinitionContainer.py:81: AssertionError

Check warning on line 0 in tests.Settings.TestDefinitionContainer

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_validateMachineDefinitionContainer[/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_xxxl.def.json] (tests.Settings.TestDefinitionContainer) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
assert False
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_xxxl.def.json'
definition_container = <DefContainer 'cccbe28a-0a63-4f87-9d58-91d00a3a0761'>

    @pytest.mark.parametrize("file_path", machine_filepaths)
    def test_validateMachineDefinitionContainer(file_path, definition_container):
        """Tests all definition containers"""
    
        file_name = os.path.basename(file_path)
        if file_name == "fdmprinter.def.json" or file_name == "fdmextruder.def.json":
            return  # Stop checking, these are root files.
    
        mocked_vum = MagicMock()
        mocked_vum.updateFilesData = lambda ct, v, fdl, fnl: FilesDataUpdateResult(ct, v, fdl, fnl)
        with patch("UM.VersionUpgradeManager.VersionUpgradeManager.getInstance", MagicMock(return_value = mocked_vum)):
>           assertIsDefinitionValid(definition_container, file_path)

Settings/TestDefinitionContainer.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

definition_container = <DefContainer 'cccbe28a-0a63-4f87-9d58-91d00a3a0761'>
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/atmat_signal_xxxl.def.json'

    def assertIsDefinitionValid(definition_container, file_path):
        with open(file_path, encoding = "utf-8") as data:
            json = data.read()
            parser, is_valid = definition_container.readAndValidateSerialized(json)
>           assert is_valid  # The definition has invalid JSON structure.
E           assert False

Settings/TestDefinitionContainer.py:81: AssertionError

Check warning on line 0 in tests.Settings.TestDefinitionContainer

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_validateMachineDefinitionContainer[/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/blocks_base.def.json] (tests.Settings.TestDefinitionContainer) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
assert False
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/blocks_base.def.json'
definition_container = <DefContainer '4c544150-c4f4-4b8a-a711-8d01de3fa35e'>

    @pytest.mark.parametrize("file_path", machine_filepaths)
    def test_validateMachineDefinitionContainer(file_path, definition_container):
        """Tests all definition containers"""
    
        file_name = os.path.basename(file_path)
        if file_name == "fdmprinter.def.json" or file_name == "fdmextruder.def.json":
            return  # Stop checking, these are root files.
    
        mocked_vum = MagicMock()
        mocked_vum.updateFilesData = lambda ct, v, fdl, fnl: FilesDataUpdateResult(ct, v, fdl, fnl)
        with patch("UM.VersionUpgradeManager.VersionUpgradeManager.getInstance", MagicMock(return_value = mocked_vum)):
>           assertIsDefinitionValid(definition_container, file_path)

Settings/TestDefinitionContainer.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

definition_container = <DefContainer '4c544150-c4f4-4b8a-a711-8d01de3fa35e'>
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/blocks_base.def.json'

    def assertIsDefinitionValid(definition_container, file_path):
        with open(file_path, encoding = "utf-8") as data:
            json = data.read()
            parser, is_valid = definition_container.readAndValidateSerialized(json)
>           assert is_valid  # The definition has invalid JSON structure.
E           assert False

Settings/TestDefinitionContainer.py:81: AssertionError

Check warning on line 0 in tests.Settings.TestDefinitionContainer

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_validateMachineDefinitionContainer[/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/blocks_mkii.def.json] (tests.Settings.TestDefinitionContainer) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
assert False
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/blocks_mkii.def.json'
definition_container = <DefContainer 'ed5e5190-6d25-4f69-a91b-eaf7e591f53b'>

    @pytest.mark.parametrize("file_path", machine_filepaths)
    def test_validateMachineDefinitionContainer(file_path, definition_container):
        """Tests all definition containers"""
    
        file_name = os.path.basename(file_path)
        if file_name == "fdmprinter.def.json" or file_name == "fdmextruder.def.json":
            return  # Stop checking, these are root files.
    
        mocked_vum = MagicMock()
        mocked_vum.updateFilesData = lambda ct, v, fdl, fnl: FilesDataUpdateResult(ct, v, fdl, fnl)
        with patch("UM.VersionUpgradeManager.VersionUpgradeManager.getInstance", MagicMock(return_value = mocked_vum)):
>           assertIsDefinitionValid(definition_container, file_path)

Settings/TestDefinitionContainer.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

definition_container = <DefContainer 'ed5e5190-6d25-4f69-a91b-eaf7e591f53b'>
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/blocks_mkii.def.json'

    def assertIsDefinitionValid(definition_container, file_path):
        with open(file_path, encoding = "utf-8") as data:
            json = data.read()
            parser, is_valid = definition_container.readAndValidateSerialized(json)
>           assert is_valid  # The definition has invalid JSON structure.
E           assert False

Settings/TestDefinitionContainer.py:81: AssertionError

Check warning on line 0 in tests.Settings.TestDefinitionContainer

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_validateMachineDefinitionContainer[/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/blocks_one.def.json] (tests.Settings.TestDefinitionContainer) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
assert False
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/blocks_one.def.json'
definition_container = <DefContainer 'cb3c2f86-af9d-4a3d-89eb-026fee9c64e7'>

    @pytest.mark.parametrize("file_path", machine_filepaths)
    def test_validateMachineDefinitionContainer(file_path, definition_container):
        """Tests all definition containers"""
    
        file_name = os.path.basename(file_path)
        if file_name == "fdmprinter.def.json" or file_name == "fdmextruder.def.json":
            return  # Stop checking, these are root files.
    
        mocked_vum = MagicMock()
        mocked_vum.updateFilesData = lambda ct, v, fdl, fnl: FilesDataUpdateResult(ct, v, fdl, fnl)
        with patch("UM.VersionUpgradeManager.VersionUpgradeManager.getInstance", MagicMock(return_value = mocked_vum)):
>           assertIsDefinitionValid(definition_container, file_path)

Settings/TestDefinitionContainer.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

definition_container = <DefContainer 'cb3c2f86-af9d-4a3d-89eb-026fee9c64e7'>
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/blocks_one.def.json'

    def assertIsDefinitionValid(definition_container, file_path):
        with open(file_path, encoding = "utf-8") as data:
            json = data.read()
            parser, is_valid = definition_container.readAndValidateSerialized(json)
>           assert is_valid  # The definition has invalid JSON structure.
E           assert False

Settings/TestDefinitionContainer.py:81: AssertionError

Check warning on line 0 in tests.Settings.TestDefinitionContainer

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_validateMachineDefinitionContainer[/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/blocks_pros100.def.json] (tests.Settings.TestDefinitionContainer) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
assert False
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/blocks_pros100.def.json'
definition_container = <DefContainer '942c06ed-20e7-4bd2-953b-439c9a5a148d'>

    @pytest.mark.parametrize("file_path", machine_filepaths)
    def test_validateMachineDefinitionContainer(file_path, definition_container):
        """Tests all definition containers"""
    
        file_name = os.path.basename(file_path)
        if file_name == "fdmprinter.def.json" or file_name == "fdmextruder.def.json":
            return  # Stop checking, these are root files.
    
        mocked_vum = MagicMock()
        mocked_vum.updateFilesData = lambda ct, v, fdl, fnl: FilesDataUpdateResult(ct, v, fdl, fnl)
        with patch("UM.VersionUpgradeManager.VersionUpgradeManager.getInstance", MagicMock(return_value = mocked_vum)):
>           assertIsDefinitionValid(definition_container, file_path)

Settings/TestDefinitionContainer.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

definition_container = <DefContainer '942c06ed-20e7-4bd2-953b-439c9a5a148d'>
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/blocks_pros100.def.json'

    def assertIsDefinitionValid(definition_container, file_path):
        with open(file_path, encoding = "utf-8") as data:
            json = data.read()
            parser, is_valid = definition_container.readAndValidateSerialized(json)
>           assert is_valid  # The definition has invalid JSON structure.
E           assert False

Settings/TestDefinitionContainer.py:81: AssertionError

Check warning on line 0 in tests.Settings.TestDefinitionContainer

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_validateMachineDefinitionContainer[/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/blocks_pros30.def.json] (tests.Settings.TestDefinitionContainer) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
assert False
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/blocks_pros30.def.json'
definition_container = <DefContainer 'bee9221b-841c-4821-a293-f307c21d9799'>

    @pytest.mark.parametrize("file_path", machine_filepaths)
    def test_validateMachineDefinitionContainer(file_path, definition_container):
        """Tests all definition containers"""
    
        file_name = os.path.basename(file_path)
        if file_name == "fdmprinter.def.json" or file_name == "fdmextruder.def.json":
            return  # Stop checking, these are root files.
    
        mocked_vum = MagicMock()
        mocked_vum.updateFilesData = lambda ct, v, fdl, fnl: FilesDataUpdateResult(ct, v, fdl, fnl)
        with patch("UM.VersionUpgradeManager.VersionUpgradeManager.getInstance", MagicMock(return_value = mocked_vum)):
>           assertIsDefinitionValid(definition_container, file_path)

Settings/TestDefinitionContainer.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

definition_container = <DefContainer 'bee9221b-841c-4821-a293-f307c21d9799'>
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/blocks_pros30.def.json'

    def assertIsDefinitionValid(definition_container, file_path):
        with open(file_path, encoding = "utf-8") as data:
            json = data.read()
            parser, is_valid = definition_container.readAndValidateSerialized(json)
>           assert is_valid  # The definition has invalid JSON structure.
E           assert False

Settings/TestDefinitionContainer.py:81: AssertionError

Check warning on line 0 in tests.Settings.TestDefinitionContainer

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_validateMachineDefinitionContainer[/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/blocks_r21.def.json] (tests.Settings.TestDefinitionContainer) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
assert False
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/blocks_r21.def.json'
definition_container = <DefContainer '438b8d10-7144-4e49-bbc1-6d3791eed0e5'>

    @pytest.mark.parametrize("file_path", machine_filepaths)
    def test_validateMachineDefinitionContainer(file_path, definition_container):
        """Tests all definition containers"""
    
        file_name = os.path.basename(file_path)
        if file_name == "fdmprinter.def.json" or file_name == "fdmextruder.def.json":
            return  # Stop checking, these are root files.
    
        mocked_vum = MagicMock()
        mocked_vum.updateFilesData = lambda ct, v, fdl, fnl: FilesDataUpdateResult(ct, v, fdl, fnl)
        with patch("UM.VersionUpgradeManager.VersionUpgradeManager.getInstance", MagicMock(return_value = mocked_vum)):
>           assertIsDefinitionValid(definition_container, file_path)

Settings/TestDefinitionContainer.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

definition_container = <DefContainer '438b8d10-7144-4e49-bbc1-6d3791eed0e5'>
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/blocks_r21.def.json'

    def assertIsDefinitionValid(definition_container, file_path):
        with open(file_path, encoding = "utf-8") as data:
            json = data.read()
            parser, is_valid = definition_container.readAndValidateSerialized(json)
>           assert is_valid  # The definition has invalid JSON structure.
E           assert False

Settings/TestDefinitionContainer.py:81: AssertionError

Check warning on line 0 in tests.Settings.TestDefinitionContainer

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_validateMachineDefinitionContainer[/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/blocks_rd50.def.json] (tests.Settings.TestDefinitionContainer) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
assert False
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/blocks_rd50.def.json'
definition_container = <DefContainer '5965f90e-cc6c-4546-a033-2ad543c286dc'>

    @pytest.mark.parametrize("file_path", machine_filepaths)
    def test_validateMachineDefinitionContainer(file_path, definition_container):
        """Tests all definition containers"""
    
        file_name = os.path.basename(file_path)
        if file_name == "fdmprinter.def.json" or file_name == "fdmextruder.def.json":
            return  # Stop checking, these are root files.
    
        mocked_vum = MagicMock()
        mocked_vum.updateFilesData = lambda ct, v, fdl, fnl: FilesDataUpdateResult(ct, v, fdl, fnl)
        with patch("UM.VersionUpgradeManager.VersionUpgradeManager.getInstance", MagicMock(return_value = mocked_vum)):
>           assertIsDefinitionValid(definition_container, file_path)

Settings/TestDefinitionContainer.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

definition_container = <DefContainer '5965f90e-cc6c-4546-a033-2ad543c286dc'>
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/blocks_rd50.def.json'

    def assertIsDefinitionValid(definition_container, file_path):
        with open(file_path, encoding = "utf-8") as data:
            json = data.read()
            parser, is_valid = definition_container.readAndValidateSerialized(json)
>           assert is_valid  # The definition has invalid JSON structure.
E           assert False

Settings/TestDefinitionContainer.py:81: AssertionError

Check warning on line 0 in tests.Settings.TestDefinitionContainer

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_validateMachineDefinitionContainer[/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/blocks_rd50duplicate.def.json] (tests.Settings.TestDefinitionContainer) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
assert False
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/blocks_rd50duplicate.def.json'
definition_container = <DefContainer '00066668-5f05-4bc0-9f09-af709b5fdac9'>

    @pytest.mark.parametrize("file_path", machine_filepaths)
    def test_validateMachineDefinitionContainer(file_path, definition_container):
        """Tests all definition containers"""
    
        file_name = os.path.basename(file_path)
        if file_name == "fdmprinter.def.json" or file_name == "fdmextruder.def.json":
            return  # Stop checking, these are root files.
    
        mocked_vum = MagicMock()
        mocked_vum.updateFilesData = lambda ct, v, fdl, fnl: FilesDataUpdateResult(ct, v, fdl, fnl)
        with patch("UM.VersionUpgradeManager.VersionUpgradeManager.getInstance", MagicMock(return_value = mocked_vum)):
>           assertIsDefinitionValid(definition_container, file_path)

Settings/TestDefinitionContainer.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

definition_container = <DefContainer '00066668-5f05-4bc0-9f09-af709b5fdac9'>
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/blocks_rd50duplicate.def.json'

    def assertIsDefinitionValid(definition_container, file_path):
        with open(file_path, encoding = "utf-8") as data:
            json = data.read()
            parser, is_valid = definition_container.readAndValidateSerialized(json)
>           assert is_valid  # The definition has invalid JSON structure.
E           assert False

Settings/TestDefinitionContainer.py:81: AssertionError

Check warning on line 0 in tests.Settings.TestDefinitionContainer

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_validateMachineDefinitionContainer[/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/blocks_rd50mirror.def.json] (tests.Settings.TestDefinitionContainer) failed

artifacts/test-results/tests/unit_tests_results.xml [took 0s]
Raw output
assert False
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/blocks_rd50mirror.def.json'
definition_container = <DefContainer 'ce5b7101-965b-4d79-b3d1-3b7a2646781d'>

    @pytest.mark.parametrize("file_path", machine_filepaths)
    def test_validateMachineDefinitionContainer(file_path, definition_container):
        """Tests all definition containers"""
    
        file_name = os.path.basename(file_path)
        if file_name == "fdmprinter.def.json" or file_name == "fdmextruder.def.json":
            return  # Stop checking, these are root files.
    
        mocked_vum = MagicMock()
        mocked_vum.updateFilesData = lambda ct, v, fdl, fnl: FilesDataUpdateResult(ct, v, fdl, fnl)
        with patch("UM.VersionUpgradeManager.VersionUpgradeManager.getInstance", MagicMock(return_value = mocked_vum)):
>           assertIsDefinitionValid(definition_container, file_path)

Settings/TestDefinitionContainer.py:74: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

definition_container = <DefContainer 'ce5b7101-965b-4d79-b3d1-3b7a2646781d'>
file_path = '/home/runner/work/Cura/Cura/tests/Settings/../../resources/definitions/blocks_rd50mirror.def.json'

    def assertIsDefinitionValid(definition_container, file_path):
        with open(file_path, encoding = "utf-8") as data:
            json = data.read()
            parser, is_valid = definition_container.readAndValidateSerialized(json)
>           assert is_valid  # The definition has invalid JSON structure.
E           assert False

Settings/TestDefinitionContainer.py:81: AssertionError