def METHOD_NAME(self, test_client, db_session, auth_headers):
    """Should respect variance_application_status_code query param as a comma-separated list"""
    batch_size = 3
    variances = VarianceFactory.create_batch(size=batch_size)
    status_code_1 = RandomVarianceApplicationStatusCode()
    status_code_2 = RandomVarianceApplicationStatusCode()
    status_codes = [status_code_1, status_code_2]
    get_resp = test_client.get(
        f'/variances?variance_application_status_code={status_code_1},{status_code_2}',
        headers=auth_headers['full_auth_header'])
    get_data = json.loads(get_resp.data.decode())
    assert get_resp.status_code == 200
    assert all(map(
        lambda v: v['variance_application_status_code'] in status_codes,
        get_data['records']))