from ..code.web.scraper.scrap.bjs import get_url_bjs, scrap_bjs
from . import setup_get_driver_details


def test_get_url_bjs_1():
    item_name = "Amazfit Band 5 Fitness Tracker with Alexa Built-in"
    assert get_url_bjs(item_name) == f"https://www.bjs.com/search/{item_name}"


def test_get_url_bjs_2():
    item_name = "Brita Longlast Replacement Filters Dispensers"
    assert get_url_bjs(item_name) == f"https://www.bjs.com/search/{item_name}"


def test_scrap_bjs():
    item_name = "SAMSUNG Galaxy Tab A7 32GB"
    results = scrap_bjs(setup_get_driver_details(), item_name)
    assert results is not None

4396369e119ef4feec3485a4bb88d68e5fdf09bf
<mask token>


def test_get_url_bjs_2():
    item_name = 'Brita Longlast Replacement Filters Dispensers'
    assert get_url_bjs(item_name) == f'https://www.bjs.com/search/{item_name}'


<mask token>

<mask token>


def test_get_url_bjs_2():
    item_name = 'Brita Longlast Replacement Filters Dispensers'
    assert get_url_bjs(item_name) == f'https://www.bjs.com/search/{item_name}'


def test_scrap_bjs():
    item_name = 'SAMSUNG Galaxy Tab A7 32GB'
    results = scrap_bjs(setup_get_driver_details(), item_name)
    assert results is not None

<mask token>


def test_get_url_bjs_1():
    item_name = 'Amazfit Band 5 Fitness Tracker with Alexa Built-in'
    assert get_url_bjs(item_name) == f'https://www.bjs.com/search/{item_name}'


def test_get_url_bjs_2():
    item_name = 'Brita Longlast Replacement Filters Dispensers'
    assert get_url_bjs(item_name) == f'https://www.bjs.com/search/{item_name}'


def test_scrap_bjs():
    item_name = 'SAMSUNG Galaxy Tab A7 32GB'
    results = scrap_bjs(setup_get_driver_details(), item_name)
    assert results is not None

from ..code.web.scraper.scrap.bjs import get_url_bjs, scrap_bjs
from . import setup_get_driver_details


def test_get_url_bjs_1():
    item_name = 'Amazfit Band 5 Fitness Tracker with Alexa Built-in'
    assert get_url_bjs(item_name) == f'https://www.bjs.com/search/{item_name}'


def test_get_url_bjs_2():
    item_name = 'Brita Longlast Replacement Filters Dispensers'
    assert get_url_bjs(item_name) == f'https://www.bjs.com/search/{item_name}'


def test_scrap_bjs():
    item_name = 'SAMSUNG Galaxy Tab A7 32GB'
    results = scrap_bjs(setup_get_driver_details(), item_name)
    assert results is not None

from ..code.web.scraper.scrap.bjs import get_url_bjs, scrap_bjs
from . import setup_get_driver_details


def test_get_url_bjs_1():
    item_name = "Amazfit Band 5 Fitness Tracker with Alexa Built-in"
    assert get_url_bjs(item_name) == f"https://www.bjs.com/search/{item_name}"


def test_get_url_bjs_2():
    item_name = "Brita Longlast Replacement Filters Dispensers"
    assert get_url_bjs(item_name) == f"https://www.bjs.com/search/{item_name}"


def test_scrap_bjs():
    item_name = "SAMSUNG Galaxy Tab A7 32GB"
    results = scrap_bjs(setup_get_driver_details(), item_name)
    assert results is not None
