This repository has been archived on 2020-09-24. You can view files and clone it, but cannot push or open issues or pull requests.
producer/integtest.py

31 lines
657 B
Python
Raw Normal View History

2020-05-08 19:13:00 +02:00
#!/usr/bin/env python
"""
Integration test for the producer module.
"""
import re
import consumerlocator
import communicator
import messagesender
import redisconnector
from pytest_redis import factories
__author__ = "@dscharnitzky"
__copyright__ = "Copyright 2020, GoldenPogácsa Team"
__module_name__ = "integtest"
__version__text__ = "1"
generateduuid = '2fbff1f2-27e7-44c8-88d9-7348cee8c1c3'
redis_proc = factories.redis_proc(host='cache', port=6379)
redis_db = factories.redisdb('redis_nooproc')
def test_integration(mocker):
"""
Tests the whole system.
:param mocker: patches the :class:`communicator.Communicator`.
"""
pass