Added integration test skeleton
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Scharnitzky Donát 2020-05-08 19:13:00 +02:00
parent c5a3fb2d04
commit 2cb6ef3a6c
1 changed files with 30 additions and 0 deletions

30
integtest.py Normal file
View File

@ -0,0 +1,30 @@
#!/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