Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
License using the proper binary version
Browse files Browse the repository at this point in the history
kkalinowski-reef committed Dec 14, 2023
1 parent 022309f commit 4577190
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/test_b2_command_line.py
Original file line number Diff line number Diff line change
@@ -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'.*'

0 comments on commit 4577190

Please sign in to comment.