def METHOD_NAME(self):
    """
    Test filebeat generate fields my_module my_fileset generates a new fields.yml for my_module/my_fileset
    """
    self._create_clean_test_modules()
    exit_code = self.run_beat(
        extra_args=["generate", "module", "my_module", "-modules-path", "test_modules", "-es-beats", self.beat_path])
    assert exit_code == 0
    exit_code = self.run_beat(
        extra_args=["generate", "fileset", "my_module", "my_fileset", "-modules-path", "test_modules", "-es-beats", self.beat_path])
    assert exit_code == 0
    test_pipeline_path = os.path.join(self.beat_path, "tests", "system", "input", "my-module-pipeline.json")
    fileset_pipeline = os.path.join("test_modules", "module",
                                    "my_module", "my_fileset", "ingest", "pipeline.json")
    shutil.copyfile(test_pipeline_path, fileset_pipeline)
    exit_code = self.run_beat(
        extra_args=["generate", "fields", "my_module", "my_fileset", "-es-beats", "test_modules", "-without-documentation"])
    assert exit_code == 0
    fields_yml_path = os.path.join("test_modules", "module", "my_module", "my_fileset", "_meta", "fields.yml")
    assert os.path.isfile(fields_yml_path)
    shutil.rmtree("test_modules")