# Path: name/utils.py
# def normalize_query(query_string):
# def compose_query(query_string):
# def resolve_type(q_type):
# def filter_names(request):


import pytest
from name import utils


@pytest.mark.django_db
def test_filter_names_with_empty_query(rf, search_fixtures):
    request = rf.get('/')

# Path: name/utils.py
# def normalize_query(query_string):
# def compose_query(query_string):
# def resolve_type(q_type):
# def filter_names(request):


# Path: tests/test_utils.py
import pytest
from name import utils



@pytest.mark.django_db
def test_filter_names_with_empty_query(rf, search_fixtures):
    request = rf.get('/')

    names = utils.filter_names(request)