<s> """<STR_LIT>""" <EOL> import unittest <EOL> import requests <EOL> from config import PATH , PATH_API <EOL> headers = { '<STR_LIT>' : '<STR_LIT>' } <EOL> class TestAccount ( unittest . TestCase ) : <EOL> pass <EOL> class TestAccountAPI ( unittest . TestCase ) : <EOL> def test_account_update ( self ) : <EOL> r = requests . get ( PATH_API + "<STR_LIT>" , headers = headers ) <EOL> self . assertEqual ( <NUM_LIT> , r . status_code ) <EOL> self . assertIsNot ( '<STR_LIT>' , r . json ( ) ) <EOL> r = requests . post ( PATH_API + "<STR_LIT>" , headers = headers ) <EOL> self . assertEqual ( <NUM_LIT> , r . status_code ) <EOL> self . assertIsNot ( '<STR_LIT>' , r . json ( ) ) <EOL> def test_account_update_profile ( self ) : <EOL> r = requests . get ( PATH_API + "<STR_LIT>" , headers = headers ) <EOL> self . assertEqual ( <NUM_LIT> , r . status_code ) <EOL> self . assertIsNot ( '<STR_LIT>' , r . json ( ) ) <EOL> r = requests . post ( PATH_API + "<STR_LIT>" , headers = headers ) <EOL> self . assertEqual ( <NUM_LIT> , r . status_code ) <EOL> self . assertIsNot ( '<STR_LIT>' , r . json ( ) ) <EOL> def test_account_update_account ( self ) : <EOL> r = requests . get ( PATH_API + "<STR_LIT>" , headers = headers ) <EOL> self . assertEqual ( <NUM_LIT> , r . status_code ) <EOL> self . assertIsNot ( '<STR_LIT>' , r . json ( ) ) <EOL> r = requests . post ( PATH_API + "<STR_LIT>" , headers = headers ) <EOL> self . assertEqual ( <NUM_LIT> , r . status_code ) <EOL> self . assertIsNot ( '<STR_LIT>' , r . json ( ) ) <EOL> def test_account_update_password ( self ) : <EOL> r = requests . get ( PATH_API + "<STR_LIT>" , headers = headers ) <EOL> self . assertEqual ( <NUM_LIT> , r . status_code ) <EOL> self . assertIsNot ( '<STR_LIT>' , r . json ( ) ) <EOL> r = requests . post ( PATH_API + "<STR_LIT>" , headers = headers ) <EOL> self . assertEqual ( <NUM_LIT> , r . status_code ) <EOL> self . assertIsNot ( '<STR_LIT>' , r . json ( ) ) <EOL> def test_account_upload_avatar ( self ) : <EOL> r = requests . get ( PATH_API + "<STR_LIT>" , headers = headers ) <EOL> self . assertEqual ( <NUM_LIT> , r . status_code ) <EOL> self . assertIsNot ( '<STR_LIT>' , r . json ( ) ) <EOL> r = requests . post ( PATH_API + "<STR_LIT>" , headers = headers ) <EOL> self . assertEqual ( <NUM_LIT> , r . status_code ) <EOL> self . assertIsNot ( '<STR_LIT>' , r . json ( ) ) </s>
