File size: 478 Bytes
b5fafa1
7c1f478
 
b5fafa1
7c1f478
b5fafa1
 
 
4fbfc2b
b5fafa1
7c1f478
b5fafa1
 
395c3d4
b5fafa1
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import pytest
from deepengineer.deepsearch.scawl_web_agent import create_web_search_agent


def test_create_web_search_agent():
    create_web_search_agent()


@pytest.mark.expensive
def test_run_web_search_agent():
    agent = create_web_search_agent()
    assert (
        agent.run(
            'Search a paper called "High Energy Physics Opportunities Using Reactor Antineutrinos" on arXiv, download it and extract the table of contents'
        )
        is not None
    )