<s> import json <EOL> from novaclient . tests . functional . v2 . legacy import test_extended_attributes <EOL> class TestExtAttrNovaClientV23 ( test_extended_attributes . TestExtAttrNovaClient ) : <EOL> """<STR_LIT>""" <EOL> COMPUTE_API_VERSION = "<STR_LIT>" <EOL> def test_extended_server_attributes ( self ) : <EOL> server , volume = self . _create_server_and_attach_volume ( ) <EOL> table = self . nova ( '<STR_LIT>' % server . id ) <EOL> for attr in [ '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' ] : <EOL> self . _get_value_from_the_table ( table , attr ) <EOL> volume_attr = self . _get_value_from_the_table ( <EOL> table , '<STR_LIT>' ) <EOL> self . assertIn ( '<STR_LIT>' , json . loads ( volume_attr ) [ <NUM_LIT:0> ] ) </s>
