diff --git a/tools/bevy_components/tests/expected_component_values.py b/tools/bevy_components/tests/expected_component_values.py index 7babda6..f7969ac 100644 --- a/tools/bevy_components/tests/expected_component_values.py +++ b/tools/bevy_components/tests/expected_component_values.py @@ -15,6 +15,7 @@ expected_custom_property_values = {'AComponentWithAnExtremlyExageratedOrMaybeNot '0.0, low_frequency_boost_curvature: 0.0, prefilter_settings: (threshold: 0.0, threshold_softness: ' '0.0))', 'BlueprintName': '(" ")', + 'BlueprintsList': '("")', 'BorderColor': '(Rgba(red:1.0, green:1.0, blue:0.0, alpha:1.0))', 'Button': '()', 'CalculatedClip': '(clip: (max: Vec2(x:0.0, y:0.0), min: Vec2(x:0.0, y:0.0)))', @@ -214,6 +215,7 @@ expected_custom_property_values_randomized = {'AComponentWithAnExtremlyExagerate '0.8133212327957153, prefilter_settings: (threshold: 0.8235888481140137, threshold_softness: ' '0.6534725427627563))', 'BlueprintName': '("sbnpsago")', + 'BlueprintsList': '("")', 'BorderColor': '(Rgba(red:0.5714026093482971, green:0.42888906598091125, blue:0.5780913233757019, ' 'alpha:0.20609822869300842))', 'Button': '()', diff --git a/tools/bevy_components/tests/test_components.py b/tools/bevy_components/tests/test_components.py index e30a9a0..42e5656 100644 --- a/tools/bevy_components/tests/test_components.py +++ b/tools/bevy_components/tests/test_components.py @@ -48,12 +48,12 @@ def test_components_should_generate_correct_custom_properties(setup_data): except Exception as error: errors.append(error) - '''pp = pprint.PrettyPrinter(depth=14, width=120) + pp = pprint.PrettyPrinter(depth=14, width=120) print("CUSTOM PROPERTY VALUES") - pp.pprint(custom_property_values)''' + pp.pprint(custom_property_values) assert len(errors) == 0 - assert len(added_components) == 158 + assert len(added_components) == 159 def test_components_should_generate_correct_custom_properties_with_randomized_values(setup_data): @@ -105,7 +105,7 @@ def test_components_should_generate_correct_custom_properties_with_randomized_va print("error_components", error_components) assert len(errors) == 0 - assert len(added_components) == 158 + assert len(added_components) == 159 def test_components_should_generate_correct_propertyGroup_values_from_custom_properties(setup_data): registry = bpy.context.window_manager.components_registry @@ -163,7 +163,7 @@ def test_components_should_generate_correct_propertyGroup_values_from_custom_pro for index, error in enumerate(errors): print("ERROR", error, failing_components[index]) assert len(errors) == 0 - assert len(added_components) == 158 + assert len(added_components) == 159 def test_remove_components(setup_data):