def test_result_data_exists_on_engine(self): engine = LoggerEngine(self.config_dict) engine.formatted_data = "Test" self.assertEqual(engine.result(True), "Test")