@@ -32,14 +32,14 @@ def patched_run_command_assert_success() -> Generator[MockType]:
3232
3333def test_conan_create (patched_run_command_assert_success : MockType ) -> None :
3434 # todo: this test currently uses a mock, but wil later be changed to test with a real server.
35- conan_create (Path ("package_dir" ), "profile" , {"compiler" : "test" , "compiler.cppstd" : "c++17 " })
35+ conan_create (Path ("package_dir" ), "profile" , {"compiler" : "test" , "compiler.cppstd" : "c++20 " })
3636 patched_run_command_assert_success .assert_called_once_with (
3737 "conan" ,
3838 "create" ,
3939 "package_dir" ,
4040 "-pr:a" , "profile" ,
4141 "-s:a" , "compiler=test" ,
42- "-s:a" , "compiler.cppstd=c++17 " ,
42+ "-s:a" , "compiler.cppstd=c++20 " ,
4343 )
4444
4545def test_conan_upload (patched_run_command_assert_success : MockType ) -> None :
@@ -61,22 +61,22 @@ def conan_test_environment(tmp_path: Path, unused_http_port: int) -> Generator[C
6161 ConanTestPackage (
6262 ref = ConanPackageReference ("dep/1.0.0@official/cppdev" ),
6363 dependencies = [],
64- cpp_standard = "c++17 " ,
64+ cpp_standard = "c++20 " ,
6565 ),
6666 ConanTestPackage (
6767 ref = ConanPackageReference ("dep/2.0.0@official/cppdev" ),
6868 dependencies = [],
69- cpp_standard = "c++17 " ,
69+ cpp_standard = "c++20 " ,
7070 ),
7171 ConanTestPackage (
7272 ref = ConanPackageReference ("cpd/1.0.0@official/cppdev" ),
7373 dependencies = [ConanPackageReference ("dep/1.0.0@official/cppdev" )],
74- cpp_standard = "c++17 " ,
74+ cpp_standard = "c++20 " ,
7575 ),
7676 ConanTestPackage (
7777 ref = ConanPackageReference ("cpd1/1.0.0@official/cppdev" ),
7878 dependencies = [ConanPackageReference ("dep/2.0.0@official/cppdev" )],
79- cpp_standard = "c++17 " ,
79+ cpp_standard = "c++20 " ,
8080 ),
8181 ]
8282 with create_conan_test_env (tmp_path / "conan" , server .http_port , TEST_PACKAGES ) as conan_test_env :
0 commit comments