コード例 #1
0
def test_non_personal_tenant_is_ignored(tenant):
    tenant.name = 'MeritAllocation'
    should = update_expiry.should_process_tenant(tenant)
    assert not should
コード例 #2
0
def test_admin_tenant_is_ignored(tenant):
    tenant.status = 'admin'
    should = update_expiry.should_process_tenant(tenant)
    assert not should
コード例 #3
0
def test_non_personal_tenant_is_ignored(tenant):
    tenant.name = 'MeritAllocation'
    should = update_expiry.should_process_tenant(tenant)
    assert not should
コード例 #4
0
def test_suspended_tenant_is_ignored(tenant):
    tenant.status = 'suspended'
    should = update_expiry.should_process_tenant(tenant)
    assert not should
コード例 #5
0
def test_admin_tenant_is_ignored(tenant):
    tenant.status = 'admin'
    should = update_expiry.should_process_tenant(tenant)
    assert not should