<s> """<STR_LIT>""" <EOL> from novaclient import extension <EOL> from novaclient . tests . unit import utils <EOL> from novaclient . tests . unit . v2 . contrib import fakes <EOL> from novaclient . v2 . contrib import assisted_volume_snapshots as assisted_snaps <EOL> class AssistedVolumeSnapshotsTestCase ( utils . TestCase ) : <EOL> def setUp ( self ) : <EOL> super ( AssistedVolumeSnapshotsTestCase , self ) . setUp ( ) <EOL> extensions = [ <EOL> extension . Extension ( assisted_snaps . __name__ . split ( "<STR_LIT:.>" ) [ - <NUM_LIT:1> ] , <EOL> assisted_snaps ) , <EOL> ] <EOL> self . cs = fakes . FakeClient ( extensions = extensions ) <EOL> def test_create_snap ( self ) : <EOL> vs = self . cs . assisted_volume_snapshots . create ( '<STR_LIT:1>' , { } ) <EOL> self . assert_request_id ( vs , fakes . FAKE_REQUEST_ID_LIST ) <EOL> self . cs . assert_called ( '<STR_LIT:POST>' , '<STR_LIT>' ) <EOL> def test_delete_snap ( self ) : <EOL> vs = self . cs . assisted_volume_snapshots . delete ( '<STR_LIT:x>' , { } ) <EOL> self . assert_request_id ( vs , fakes . FAKE_REQUEST_ID_LIST ) <EOL> self . cs . assert_called ( <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' ) </s>
