From 3932fb56c4d93030455c77e96b6a8c9213e73d51 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sat, 27 Feb 2021 17:01:47 +0100 Subject: [PATCH] test_event_parse must include a config_file, even if it doesn't use it, otherwise the service will fail to start --- tests/test_event_parse.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/test_event_parse.py b/tests/test_event_parse.py index 3f321e9b..12ce5c9e 100644 --- a/tests/test_event_parse.py +++ b/tests/test_event_parse.py @@ -1,12 +1,15 @@ +import os import unittest from platypush.event.hook import EventCondition from platypush.message.event.ping import PingEvent -from . import BaseTest +from . import BaseTest, conf_dir class TestEventParse(BaseTest): + config_file = os.path.join(conf_dir, 'test_http_config.yaml') + def setUp(self): self.condition = EventCondition.build({ 'type': 'platypush.message.event.ping.PingEvent',