Skip to content

Commit 75be08a

Browse files
committed
@W-18129346 - Fix tests for available licenses
1 parent 399ebb4 commit 75be08a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cumulusci/tasks/preflight/tests/test_licenses.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def test_license_preflight(self):
2727
task._init_api.return_value.query.assert_called_once_with(
2828
"SELECT Id, LicenseDefinitionKey, TotalLicenses, UsedLicenses FROM UserLicense WHERE Status = 'Active'"
2929
)
30-
# Only TEST1 and TEST3 have available licenses
30+
3131
assert task.return_values == ["TEST1", "TEST2"]
3232

3333
def test_assignable_license_preflight(self):
@@ -45,7 +45,7 @@ def test_assignable_license_preflight(self):
4545
task._init_api.return_value.query.assert_called_once_with(
4646
"SELECT Id, LicenseDefinitionKey, TotalLicenses, UsedLicenses FROM UserLicense WHERE Status = 'Active'"
4747
)
48-
# Only TEST1 and TEST3 have available licenses
48+
# Only TEST1 assignable licenses
4949
assert task.return_values == ["TEST1"]
5050

5151
def test_psl_preflight(self):

0 commit comments

Comments
 (0)