<s> """<STR_LIT>""" <EOL> import unittest <EOL> from cloudcafe . compute . flavors_api . models . flavor_access import FlavorAccess , FlavorAccessList <EOL> class FlavorAccessModelTest ( object ) : <EOL> def test_flavor_access_entries ( self ) : <EOL> first_entry = FlavorAccess ( flavor_id = '<STR_LIT>' , tenant_id = '<STR_LIT>' ) <EOL> second_entry = FlavorAccess ( flavor_id = '<STR_LIT>' , tenant_id = '<STR_LIT>' ) <EOL> self . assertIn ( first_entry , self . access_list ) <EOL> self . assertIn ( second_entry , self . access_list ) <EOL> class FlavorAccessXMLTest ( unittest . TestCase , FlavorAccessModelTest ) : <EOL> @ classmethod <EOL> def setUpClass ( cls ) : <EOL> cls . access_xml = """<STR_LIT>""" <EOL> cls . access_list = FlavorAccessList . deserialize ( cls . access_xml , '<STR_LIT>' ) <EOL> class FlavorAccessJSONTest ( unittest . TestCase , FlavorAccessModelTest ) : <EOL> @ classmethod <EOL> def setUpClass ( cls ) : <EOL> cls . access_json = """<STR_LIT>""" <EOL> cls . access_list = FlavorAccessList . deserialize ( cls . access_json , '<STR_LIT>' ) </s>
