def assert_app_info(self, test, app_info):
        ref_file = self.test_script_dir + test + '.app_info'
        reference = self._read_file(ref_file)
        # Canonical form
        sorted_app_info = json.dumps(app_info, indent=4, sort_keys=True)
        diff_lines = difflib.unified_diff(sorted_app_info.splitlines(), reference.splitlines())
        diff = '\n'.join(diff_lines)
        self.assertFalse(diff, diff)
Parse a command :redir content.
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/tests/test_calvinscript.py/CalvinScriptAnalyzerTest.assert_app_info--crossover with--dataset/ETHPy150Open Kuniwak/vint/vint/ast/parsing.py/Parser.parse_redir