def METHOD_NAME(self):
    """
    Test modules enable command
    """
    self.touch(self.working_dir + "/modules.d/enabled.yml")
    self.touch(self.working_dir + "/modules.d/disabled1.yml.disabled")
    self.touch(self.working_dir + "/modules.d/disabled2.yml.disabled")
    self.touch(self.working_dir + "/modules.d/disabled3.yml.disabled")
    # Enable one module
    exit_code = self.run_beat(
        extra_args=["modules", "enable", "disabled1"])
    assert exit_code == 0
    assert self.log_contains("Enabled disabled1")
    assert os.path.exists(self.working_dir + "/modules.d/disabled1.yml")
    assert not os.path.exists(
        self.working_dir + "/modules.d/disabled1.yml.disabled")
    assert os.path.exists(
        self.working_dir + "/modules.d/disabled2.yml.disabled")
    assert os.path.exists(
        self.working_dir + "/modules.d/disabled3.yml.disabled")
    # Enable several modules at once:
    exit_code = self.run_beat(
        extra_args=["modules", "enable", "disabled2", "disabled3"])
    assert exit_code == 0
    assert self.log_contains("Enabled disabled2")
    assert self.log_contains("Enabled disabled3")
    assert os.path.exists(self.working_dir + "/modules.d/disabled2.yml")
    assert os.path.exists(self.working_dir + "/modules.d/disabled3.yml")
    assert not os.path.exists(
        self.working_dir + "/modules.d/disabled2.yml.disabled")
    assert not os.path.exists(
        self.working_dir + "/modules.d/disabled3.yml.disabled")