<s> import unittest <EOL> import basetest <EOL> class TestPostCreate ( basetest . BaseTestCase ) : <EOL> def test_create_text ( self ) : <EOL> params = { <EOL> '<STR_LIT:type>' : '<STR_LIT:text>' , <EOL> '<STR_LIT:title>' : '<STR_LIT>' , <EOL> '<STR_LIT:body>' : '<STR_LIT>' , <EOL> } <EOL> json_response = self . client . create_post ( request_params = params ) <EOL> self . assertSuccessResponse ( json_response ) <EOL> def test_create_draft ( self ) : <EOL> params = { <EOL> '<STR_LIT:type>' : '<STR_LIT:text>' , <EOL> '<STR_LIT:title>' : '<STR_LIT>' , <EOL> '<STR_LIT:body>' : '<STR_LIT>' , <EOL> '<STR_LIT:status>' : '<STR_LIT>' , <EOL> } <EOL> json_response = self . client . create_post ( request_params = params ) <EOL> self . assertSuccessResponse ( json_response ) <EOL> def test_create_queue ( self ) : <EOL> params = { <EOL> '<STR_LIT:type>' : '<STR_LIT:text>' , <EOL> '<STR_LIT:title>' : '<STR_LIT>' , <EOL> '<STR_LIT:body>' : '<STR_LIT>' , <EOL> '<STR_LIT:status>' : '<STR_LIT>' , <EOL> } <EOL> json_response = self . client . create_post ( request_params = params ) <EOL> self . assertSuccessResponse ( json_response ) <EOL> def test_create_tags ( self ) : <EOL> params = { <EOL> '<STR_LIT:type>' : '<STR_LIT:text>' , <EOL> '<STR_LIT:title>' : '<STR_LIT>' , <EOL> '<STR_LIT:body>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> } <EOL> json_response = self . client . create_post ( request_params = params ) <EOL> self . assertSuccessResponse ( json_response ) <EOL> def test_create_quote ( self ) : <EOL> params = { <EOL> '<STR_LIT:type>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT:source>' : '<STR_LIT>' , <EOL> } <EOL> json_response = self . client . create_post ( request_params = params ) <EOL> self . assertSuccessResponse ( json_response ) <EOL> def test_create_link ( self ) : <EOL> params = { <EOL> '<STR_LIT:type>' : '<STR_LIT>' , <EOL> '<STR_LIT:title>' : '<STR_LIT>' , <EOL> '<STR_LIT:description>' : '<STR_LIT>' , <EOL> '<STR_LIT:url>' : '<STR_LIT>' , <EOL> } <EOL> json_response = self . client . create_post ( request_params = params ) <EOL> self . assertSuccessResponse ( json_response ) <EOL> def test_create_chat ( self ) : <EOL> params = { <EOL> '<STR_LIT:type>' : '<STR_LIT>' , <EOL> '<STR_LIT:title>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> } <EOL> json_response = self . client . create_post ( request_params = params ) <EOL> self . assertSuccessResponse ( json_response ) <EOL> def test_create_audio_url ( self ) : <EOL> params = { <EOL> '<STR_LIT:type>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> } <EOL> json_response = self . client . create_post ( request_params = params ) <EOL> self . assertSuccessResponse ( json_response ) <EOL> def suite ( ) : <EOL> return unittest . TestLoader ( ) . loadTestsFromTestCase ( TestPostCreate ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> unittest . main ( ) </s>
