'Call the install_repository method to ensure that all required repositories are installed.'

def test_9900_install_all_missing_repositories(self):

    global repository_datatypes_count
    global base_datatypes_count
    global running_standalone
    self.galaxy_login(email=common.admin_email, username=common.admin_username)
    base_datatypes_count = int(self.get_datatypes_count())
    self.install_repository('filtering_0000', common.test_user_1_name, category_0000_name, strings_displayed=[])
    self.install_repository('freebayes_0010', common.test_user_1_name, category_0010_name, strings_displayed=[])
    self.install_repository('emboss_0020', common.test_user_1_name, category_0020_name, strings_displayed=[])
    self.install_repository('emboss_5_0030', common.test_user_1_name, category_0030_name, strings_displayed=[])
    self.install_repository('freebayes_0050', common.test_user_1_name, category_0050_name, strings_displayed=[])
    self.install_repository('filtering_0060', common.test_user_1_name, category_0060_name, strings_displayed=[])
    current_datatypes = int(self.get_datatypes_count())
    if running_standalone:
        message = ('Installing    emboss    did    not    add    new    datatypes.\nFound:    %d\nExpected:    %d' % (current_datatypes, (base_datatypes_count + repository_datatypes_count)))
        assert (current_datatypes > base_datatypes_count), message
    else:
        assert (current_datatypes == base_datatypes_count), 'Installing    emboss    added    new    datatypes.'
