'Import the filter_0490 repository capsule.'

def test_0005_import_repository_capsule(self):

    "\n                                This    is    step    1    -    Import    a    repository    capsule    containing    a    repository    with    no    dependencies,    e.g.    filter1.\n                                Check    that    the    repository    to    be    imported    is    not    marked    as    preexisting.    The    string    '    Exists'    should    not\n                                be    displayed,    but    '<b>Exists</b>'    should.\n                                "
    self.login(email=common.admin_email, username=common.admin_username)
    self.create_category(name=category_name, description=category_description)
    self.login(email=common.test_user_1_email, username=common.test_user_1_name)
    self.import_capsule(self.get_filename('repository_capsules/0490_filtering.tar.gz'), strings_displayed=[repository_name, '<b>Exists'], strings_not_displayed=['    Exists'], strings_displayed_after_submit=['Repository    <b>filtering_0490</b>    has    been    created.'], strings_not_displayed_after_submit=['Import    not    necessary'])
