'Verify that the filtering_0530_user1_admin role is associated with the filtering_0530 repository.'

def test_0015_verify_repository_role_association(self):

    '\n                                This    is    step    3    -    Check    to    make    sure    a    new    repository_role_association    record    was    created    with    appropriate    repository    id    and    role    id.\n                                '
    repository = self.test_db_util.get_repository_by_name_and_owner(repository_name, common.test_user_1_name)
    test_user_1 = self.test_db_util.get_user(common.test_user_1_email)
    repository_admin_role = self.test_db_util.get_role(test_user_1, 'filtering_0530_user1_admin')
    repository_role_association = self.test_db_util.get_repository_role_association(repository.id, repository_admin_role.id)
    assert (repository_role_association is not None), 'Repository    filtering_0530    is    not    associated    with    the    filtering_0530_user1_admin    role.'
