diff --git a/test/integration/test_b2_command_line.py b/test/integration/test_b2_command_line.py index 88050ad55..1027e8dee 100755 --- a/test/integration/test_b2_command_line.py +++ b/test/integration/test_b2_command_line.py @@ -1509,14 +1509,14 @@ def test_sse_c(b2_tool, bucket_name, is_running_on_docker, sample_file, tmp_path "data in bundled and built packages." ) @pytest.mark.parametrize('with_packages', [True, False]) -def test_license(b2_tool, with_packages): +def test_license(b2_tool, with_packages, cli_version): license_text = b2_tool.should_succeed( ['license'] + (['--with-packages'] if with_packages else []) ) if with_packages: full_license_re = re.compile( - r'Licenses of all modules used by b2(\.EXE)?, shipped with it in binary form:\r?\n' + fr'Licenses of all modules used by {cli_version}(\.EXE)?, shipped with it in binary form:\r?\n' r'\+-*\+-*\+\r?\n' r'\|\s*Module name\s*\|\s*License text\s*\|\r?\n' r'.*'