def test_bake_project_requiremnts(cookies):
    project_name = random_lower_string()
    result = cookies.bake(template=PROJECT_TEMPLATE, extra_context={'project_name': project_name, 'preffered_requirements_tool': 'requirements.txt'})
    assert (result.exit_code == 0)
    assert (result.exception is None)
    assert (result.project.basename == project_name)
    assert result.project.isdir()
    top_level = [f.basename for f in result.project.listdir()]
    assert ('requirements.txt' in top_level)
    assert ('poetry.lock' not in top_level)
    assert ('pyproject.toml' not in top_level)
    assert ('.dockerignore' in top_level)
    assert ('.env' in top_level)
    assert ('aerich.ini' in top_level)
    assert ('app' in top_level)
    assert ('config' in top_level)
    assert ('docker-compose.yml' in top_level)
    assert ('docker-compose.prod.yml' in top_level)
    assert ('docker-compose.debug.yml' in top_level)
    assert ('Dockerfile' in top_level)
    assert ('.gitignore' in top_level)
def test_bake_project_requiremnts(cookies):
    project_name = random_lower_string()
    result = cookies.bake(template=PROJECT_TEMPLATE, extra_context={'project_name': project_name, 'preffered_requirements_tool': 'requirements.txt'})
    assert (result.exit_code == 0)
    assert (result.exception is None)
    assert (result.project.basename == project_name)
    assert result.project.isdir()
    top_level = [f.basename for f in result.project.listdir()]
    assert ('requirements.txt' in top_level)
    assert ('poetry.lock' not in top_level)
    assert ('pyproject.toml' not in top_level)
    assert ('.dockerignore' in top_level)
    assert ('.env' in top_level)
    assert ('aerich.ini' in top_level)
    assert ('app' in top_level)
    assert ('config' in top_level)
    assert ('docker-compose.yml' in top_level)
    assert ('docker-compose.prod.yml' in top_level)
    assert ('docker-compose.debug.yml' in top_level)
    assert ('Dockerfile' in top_level)
    assert ('.gitignore' in top_level)