def METHOD_NAME(self):
    # Create tar file for testing
    os.makedirs(os.path.join("src", "test_prefix"))
    file_to_tar = os.path.join("src", "test_prefix", "test.txt")
    open(file_to_tar, "w").close()
    tar = tarfile.open(os.path.join("src", "test.tar"), "w")
    tar.add(file_to_tar)
    tar.close()
    tar_source = sources.Tar(os.path.join("src", "test.tar"), "dst")
    os.mkdir("dst")
    tar_source.pull()
    # The 'test_prefix' part of the path should have been removed
    self.assertTrue(os.path.exists(os.path.join("dst", "test.txt")))