Fix BaseTestCase bug
Fixes a bug in BTC that causes syntribos to send the same init_req over and over, meaning that only the first template specified actually gets executed. Change-Id: I9df3de8ae8ac305d67428afc9c029d2145788b53 Closes-Bug: #1635747
This commit is contained in:
parent
efb9054ebd
commit
b80f2ca802
|
@ -148,9 +148,9 @@ class BaseTestCase(unittest.TestCase):
|
|||
:param str filename: name of template file
|
||||
:param str file_content: content of template file as string
|
||||
"""
|
||||
if not cls.init_req:
|
||||
cls.init_req = parser.create_request(
|
||||
file_content, CONF.syntribos.endpoint)
|
||||
cls.init_req = parser.create_request(
|
||||
file_content, CONF.syntribos.endpoint)
|
||||
|
||||
prepared_copy = cls.init_req.get_prepared_copy()
|
||||
cls.init_resp, cls.init_signals = cls.client.send_request(
|
||||
prepared_copy)
|
||||
|
|
Loading…
Reference in New Issue