@@ -54,14 +54,14 @@ def test_with_default_configuration(
5454
5555 assert baked_project .exit_code == 0
5656 assert baked_project .exception is None
57- assert baked_project .project . basename == context ['project_name' ]
58- assert baked_project .project . isdir ()
57+ assert baked_project .project_path . name == context ['project_name' ]
58+ assert baked_project .project_path . is_dir ()
5959
6060
6161def test_variables_replaced (cookies : Cookies , context : dict [str , str ]) -> None :
6262 """Ensures that all variables are replaced inside project files."""
6363 baked_project = cookies .bake (extra_context = context )
64- paths = _build_files_list (baked_project .project )
64+ paths = _build_files_list (baked_project .project_path )
6565
6666 _assert_variables_replaced (paths )
6767
@@ -72,7 +72,7 @@ def test_dynamic_files_generated(
7272) -> None :
7373 """Ensures that dynamic files are generated."""
7474 baked_project = cookies .bake (extra_context = context )
75- base_path = baked_project .project
75+ base_path = baked_project .project_path
7676 paths = _build_files_list (base_path )
7777
7878 dynamic_files = [
@@ -87,7 +87,7 @@ def test_pyproject_toml(cookies: Cookies, context: dict[str, str]) -> None:
8787 """Ensures that all variables are replaced inside project files."""
8888 baked_project = cookies .bake (extra_context = context )
8989
90- with (baked_project .project / 'pyproject.toml' ).open (
90+ with (baked_project .project_path / 'pyproject.toml' ).open (
9191 mode = 'rb' ,
9292 ) as pyproject :
9393 poetry = tomli .load (pyproject )['tool' ]['poetry' ]
0 commit comments