<s> """<STR_LIT>""" <EOL> from cafe . drivers . unittest . decorators import tags <EOL> from cloudcafe . compute . common . exceptions import ItemNotFound <EOL> from cloudroast . images . fixtures import ImagesFixture <EOL> class TestGetImageMemberNegative ( ImagesFixture ) : <EOL> @ classmethod <EOL> def setUpClass ( cls ) : <EOL> super ( TestGetImageMemberNegative , cls ) . setUpClass ( ) <EOL> cls . image = cls . images_behavior . create_image_via_task ( ) <EOL> @ tags ( type = '<STR_LIT>' , regression = '<STR_LIT:true>' ) <EOL> def test_get_image_member_as_member_image_not_shared_with ( self ) : <EOL> """<STR_LIT>""" <EOL> response = self . images_client . add_member ( <EOL> self . image . id_ , self . alt_tenant_id ) <EOL> self . assertEqual ( response . status_code , <NUM_LIT:200> ) <EOL> member = response . entity <EOL> with self . assertRaises ( ItemNotFound ) : <EOL> self . third_images_client . get_member ( <EOL> self . image . id_ , member . member_id ) </s>
