'Create and populate the package_matplotlib_1_2_0170 repository.'

def test_0005_create_matplotlib_repository(self):

    '\n                                This    is    step    1    -    Create    and    populate    repositories    package_matplotlib_1_2_0170    and    package_numpy_1_7_0170.\n                                '
    global running_standalone
    category = self.create_category(name=category_name, description=category_description)
    self.login(email=common.test_user_1_email, username=common.test_user_1_name)
    repository = self.get_or_create_repository(name=matplotlib_repository_name, description=matplotlib_repository_description, long_description=matplotlib_repository_long_description, owner=common.test_user_1_name, category_id=self.security.encode_id(category.id), strings_displayed=[])
    if self.repository_is_new(repository):
        running_standalone = True
        self.upload_file(repository, filename='package_matplotlib/package_matplotlib_1_2.tar', filepath=None, valid_tools_only=False, uncompress_file=True, remove_repo_files_not_in_tar=False, commit_message='Uploaded    matplotlib    tool    dependency    tarball.', strings_displayed=['This    repository    currently    contains    a    single    file    named    <b>tool_dependencies.xml</b>'], strings_not_displayed=[])
