'Clone the repository to a local path.'

def test_0010_clone(self):

    '\n                                We    are    at    step    2    -    Clone    the    repository    to    a    local    path.\n                                The    repository    should    have    the    following    files:\n\n                                filtering.py\n                                filtering.xml\n                                test-data/\n                                test-data/1.bed\n                                test-data/7.bed\n                                test-data/filter1_in3.sam\n                                test-data/filter1_inbad.bed\n                                test-data/filter1_test1.bed\n                                test-data/filter1_test2.bed\n                                test-data/filter1_test3.sam\n                                test-data/filter1_test4.bed\n                                '
    repository = self.test_db_util.get_repository_by_name_and_owner(repository_name, common.test_user_1_name)
    clone_path = self.generate_temp_path('test_0310', additional_paths=['filtering_0310', 'user2'])
    self.clone_repository(repository, clone_path)
    files_in_repository = os.listdir(clone_path)
    assert ('filtering.py' in files_in_repository), 'File    not    found    in    repository:    filtering.py'
