def METHOD_NAME(self):
    """Test that citation information is collected for all core modules
    in different formats and are written to the output file"""
    for fmt in ["json", "pretty-json", "chicago-footnote", "dict", "plain"]:
        # format citeproc requires citeproc-py library but requires
        # cleanest input together with cff-format, csl-json
        # which currently do not succeed for all modules
        self.truncate_temp_file()
        module = SimpleModule(
            "g.citation",
            flags="ad",
            format=fmt,
            output=self.output.name,
        )
        self.assertModule(module)
        self.assertIn("v.surf.rst", self.output.file.read())