def METHOD_NAME(self, random_account, test_rses):
    # enough RSEs and global quota, but local quota missing -> 1 RSE
    rse1_name, rse1_id, rse1, rse2_name, rse2_id, rse2 = test_rses
    rses = [rse1, rse2]
    copies = 1
    set_global_account_limit(account=random_account, rse_expression=rse1_name, bytes_=10)
    set_local_account_limit(account=random_account, rse_id=rse1_id, bytes_=10)
    increase(rse1_id, random_account, 10, 10)
    update_account_counter(account=random_account, rse_id=rse1_id)
    set_local_account_limit(account=random_account, rse_id=rse2_id, bytes_=10)
    set_global_account_limit(account=random_account, rse_expression=rse2_name, bytes_=10)
    rse_selector = RSESelector(random_account, rses, None, copies)
    assert len(rse_selector.rses) == 1