@@ -32,14 +32,14 @@ def patched_run_command_assert_success() -> Generator[MockType]:
32
32
33
33
def test_conan_create (patched_run_command_assert_success : MockType ) -> None :
34
34
# 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 " })
36
36
patched_run_command_assert_success .assert_called_once_with (
37
37
"conan" ,
38
38
"create" ,
39
39
"package_dir" ,
40
40
"-pr:a" , "profile" ,
41
41
"-s:a" , "compiler=test" ,
42
- "-s:a" , "compiler.cppstd=c++17 " ,
42
+ "-s:a" , "compiler.cppstd=c++20 " ,
43
43
)
44
44
45
45
def 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
61
61
ConanTestPackage (
62
62
ref = ConanPackageReference ("dep/1.0.0@official/cppdev" ),
63
63
dependencies = [],
64
- cpp_standard = "c++17 " ,
64
+ cpp_standard = "c++20 " ,
65
65
),
66
66
ConanTestPackage (
67
67
ref = ConanPackageReference ("dep/2.0.0@official/cppdev" ),
68
68
dependencies = [],
69
- cpp_standard = "c++17 " ,
69
+ cpp_standard = "c++20 " ,
70
70
),
71
71
ConanTestPackage (
72
72
ref = ConanPackageReference ("cpd/1.0.0@official/cppdev" ),
73
73
dependencies = [ConanPackageReference ("dep/1.0.0@official/cppdev" )],
74
- cpp_standard = "c++17 " ,
74
+ cpp_standard = "c++20 " ,
75
75
),
76
76
ConanTestPackage (
77
77
ref = ConanPackageReference ("cpd1/1.0.0@official/cppdev" ),
78
78
dependencies = [ConanPackageReference ("dep/2.0.0@official/cppdev" )],
79
- cpp_standard = "c++17 " ,
79
+ cpp_standard = "c++20 " ,
80
80
),
81
81
]
82
82
with create_conan_test_env (tmp_path / "conan" , server .http_port , TEST_PACKAGES ) as conan_test_env :
0 commit comments