Remove unused wrapper methods
There are some wrapper methods in base.py of messaging tests but get_single_message and get_multiple_messages are not used at all. These methods just call client methods without any special behaviors and they seems redundant. So this patch removes them. Change-Id: I596a1089c4bfb66b7daf1b27779208920d251e63
This commit is contained in:
parent
5b6b824739
commit
d687e5a60b
|
@ -115,20 +115,6 @@ class BaseMessagingTest(test.BaseTestCase):
|
|||
|
||||
return resp, body
|
||||
|
||||
@classmethod
|
||||
def get_single_message(cls, message_uri):
|
||||
"""Wrapper utility that gets a single message."""
|
||||
resp, body = cls.client.show_single_message(message_uri)
|
||||
|
||||
return resp, body
|
||||
|
||||
@classmethod
|
||||
def get_multiple_messages(cls, message_uri):
|
||||
"""Wrapper utility that gets multiple messages."""
|
||||
resp, body = cls.client.show_multiple_messages(message_uri)
|
||||
|
||||
return resp, body
|
||||
|
||||
@classmethod
|
||||
def delete_messages(cls, message_uri):
|
||||
"""Wrapper utility that deletes messages."""
|
||||
|
|
Loading…
Reference in New Issue