#NEWLINE# def test_create_creates( self ) : #NEWLINE# #INDENT# '\n        ``/VolumeDriver.Create`` creates a new dataset in the configuration.\n        ' #NEWLINE# name = 'myvol' #NEWLINE# d = self . create ( name ) #NEWLINE# d . addCallback ( ( lambda _ : self . flocker_client . list_datasets_configuration ( ) ) ) #NEWLINE# d . addCallback ( list ) #NEWLINE# d . addCallback ( ( lambda result : self . assertItemsEqual ( result , [ Dataset ( dataset_id = result [ 0 ] . dataset_id , primary = self . NODE_A , maximum_size = int ( DEFAULT_SIZE . to_Byte ( ) ) , metadata = { #NEWLINE# #INDENT# NAME_FIELD : name , #NEWLINE# #UNINDENT# } ) ] ) ) ) #NEWLINE# return d