forked from platypush/platypush
test_event_parse must include a config_file, even if it doesn't use it, otherwise the service will fail to start
This commit is contained in:
parent
cde5e4e4f9
commit
3932fb56c4
1 changed files with 4 additions and 1 deletions
|
@ -1,12 +1,15 @@
|
||||||
|
import os
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
from platypush.event.hook import EventCondition
|
from platypush.event.hook import EventCondition
|
||||||
from platypush.message.event.ping import PingEvent
|
from platypush.message.event.ping import PingEvent
|
||||||
|
|
||||||
from . import BaseTest
|
from . import BaseTest, conf_dir
|
||||||
|
|
||||||
|
|
||||||
class TestEventParse(BaseTest):
|
class TestEventParse(BaseTest):
|
||||||
|
config_file = os.path.join(conf_dir, 'test_http_config.yaml')
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.condition = EventCondition.build({
|
self.condition = EventCondition.build({
|
||||||
'type': 'platypush.message.event.ping.PingEvent',
|
'type': 'platypush.message.event.ping.PingEvent',
|
||||||
|
|
Loading…
Reference in a new issue