From c0cbb0776e932acf4cc0b0155eb7b77af70847dd Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Fri, 8 Mar 2024 23:43:26 -0300 Subject: [PATCH] Add assertions for record text and source in test_url_component() --- tests/test_data_components.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_data_components.py b/tests/test_data_components.py index 5cce5ad5f..bc46b263e 100644 --- a/tests/test_data_components.py +++ b/tests/test_data_components.py @@ -174,3 +174,5 @@ def test_url_component(): # the url component can be used to load the contents of a website records = url_component.build(["https://langflow.org"]) assert all(record.data for record in records) + assert all(record.text for record in records) + assert all(record.source for record in records)