def test_update_config_file(self):

        input_dir = dbutil.input_directory(self.MODULE, self.SUITE)
        output_dir = dbutil.output_directory(self.MODULE, self.SUITE)
        expected_dir = dbutil.expected_directory(self.MODULE, self.SUITE)

        dbname = 'TEST_TEST_TEST'
        config_file_name = 'test_datacube.conf'

        output_path = dbutil.update_config_file(dbname, input_dir,
                                                output_dir, config_file_name)

        expected_path = os.path.join(expected_dir, config_file_name)
        if not os.path.isfile(expected_path):
            self.skipTest("Expected config file not found.")
        else:
            try:
                subprocess.check_output(['diff', output_path, expected_path])
            except subprocess.CalledProcessError as err:
                self.fail("Config file does not match expected result:\n" +
                          err.output)
Generate DOT (graphviz) for a whole tree not just a node.
dataset/ETHPy150Open GeoscienceAustralia/agdc/tests/test_dbutil.py/TestUtilityFunctions.test_update_config_file--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/_internal/antlr3/dottreegen.py/toDOT