def test_alert_files(self): alert_file_path = os.path.join(self.config["alert_file_dir"], "test_alert") create_alert_file(self.pghoard.config, "test_alert") assert os.path.exists(alert_file_path) is True delete_alert_file(self.pghoard.config, "test_alert") assert os.path.exists(alert_file_path) is False