Use config options to determine message count
This patch replaces the hard coded message count with a parameter that is read from the config file. This is needed to run the functional tests against vendor specific implementations of Marconi. Change-Id: I188463749630b051174eed44bacb2b6d52c8c82d
This commit is contained in:
parent
635e9fb0b8
commit
935f00d1d8
@ -43,7 +43,8 @@ class TestClaims(base.FunctionalTestBase):
|
|||||||
|
|
||||||
#Post Messages
|
#Post Messages
|
||||||
url = self.queue_url + '/messages'
|
url = self.queue_url + '/messages'
|
||||||
doc = helpers.create_message_body(messagecount=50)
|
doc = helpers.create_message_body(
|
||||||
|
messagecount=self.limits.max_messages_per_page)
|
||||||
|
|
||||||
for i in range(10):
|
for i in range(10):
|
||||||
self.client.post(url, data=doc)
|
self.client.post(url, data=doc)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user