Add assertions for record text and source in test_url_component()
This commit is contained in:
parent
8751249fe4
commit
c0cbb0776e
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue