<s> import unittest <EOL> from examples . compute import create <EOL> from examples . compute import delete <EOL> from examples . compute import find as compute_find <EOL> from examples . compute import list as compute_list <EOL> from examples import connect <EOL> from examples . network import find as network_find <EOL> from examples . network import list as network_list <EOL> class TestCompute ( unittest . TestCase ) : <EOL> """<STR_LIT>""" <EOL> @ classmethod <EOL> def setUpClass ( cls ) : <EOL> cls . conn = connect . create_connection_from_config ( ) <EOL> def test_compute ( self ) : <EOL> compute_list . list_servers ( self . conn ) <EOL> compute_list . list_images ( self . conn ) <EOL> compute_list . list_flavors ( self . conn ) <EOL> compute_list . list_keypairs ( self . conn ) <EOL> network_list . list_networks ( self . conn ) <EOL> compute_find . find_image ( self . conn ) <EOL> compute_find . find_flavor ( self . conn ) <EOL> compute_find . find_keypair ( self . conn ) <EOL> network_find . find_network ( self . conn ) <EOL> create . create_server ( self . conn ) <EOL> delete . delete_keypair ( self . conn ) <EOL> delete . delete_server ( self . conn ) </s>
