Added integration test skeleton
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c5a3fb2d04
commit
2cb6ef3a6c
30
integtest.py
Normal file
30
integtest.py
Normal 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
|
Reference in New Issue
Block a user