def METHOD_NAME(self):
    """
    Test modules disable command
    """
    self.touch(self.working_dir + "/modules.d/enabled1.yml")
    self.touch(self.working_dir + "/modules.d/enabled2.yml")
    self.touch(self.working_dir + "/modules.d/enabled3.yml")
    self.touch(self.working_dir + "/modules.d/disabled2.yml.disabled")
    # Disable one module
    exit_code = self.run_beat(
        extra_args=["modules", "disable", "enabled1"])
    assert exit_code == 0
    assert self.log_contains("Disabled enabled1")
    assert os.path.exists(
        self.working_dir + "/modules.d/enabled1.yml.disabled")
    assert not os.path.exists(self.working_dir + "/modules.d/enabled1.yml")
    assert os.path.exists(self.working_dir + "/modules.d/enabled2.yml")
    assert os.path.exists(self.working_dir + "/modules.d/enabled3.yml")
    # Disable several modules at once:
    exit_code = self.run_beat(
        extra_args=["modules", "disable", "enabled2", "enabled3"])
    assert exit_code == 0
    assert self.log_contains("Disabled enabled2")
    assert self.log_contains("Disabled enabled3")
    assert os.path.exists(
        self.working_dir + "/modules.d/enabled2.yml.disabled")
    assert os.path.exists(
        self.working_dir + "/modules.d/enabled3.yml.disabled")
    assert not os.path.exists(self.working_dir + "/modules.d/enabled2.yml")
    assert not os.path.exists(self.working_dir + "/modules.d/enabled3.yml")