Jorwoods/quota tiers allow null#1015
Conversation
|
Black is incompatible with Click 8.1.0. Will rerun tests after black gets fixed. Issue: psf/black#2964 (comment) |
3714b0f to
60f1499
Compare
jacalata
left a comment
There was a problem hiding this comment.
Here's a test that passes without your change: can you add it and update?
def test_null_site_quota(self) -> None:
test_site = TSC.SiteItem('testname', 'testcontenturl', tier_explorer_capacity=1, user_quota=None)
assert test_site.tier_explorer_capacity == 1
with self.assertRaises(ValueError):
test_site.user_quota = 1
test_site.tier_explorer_capacity = None
test_site.user_quota = 1
|
I also modified the existing |
|
thanks! |
* Allow setting site user_quota to None if tiered licenses exist
* Allow setting site user_quota to None if tiered licenses exist
* Allow setting site user_quota to None if tiered licenses exist
* Allow setting site user_quota to None if tiered licenses exist
Allow setting
site.user_quotaequal to None if license levels are set.