#NEWLINE# @ capture_logging ( None ) #NEWLINE# def test_setup_generates_dataset( self , _logger ) : #NEWLINE# #INDENT# '\n        ``write_request_load_scenario`` starts and stops without collapsing.\n        ' #NEWLINE# c = Clock ( ) #NEWLINE# cluster = self . make_cluster ( self . get_fake_flocker_client_instance ( ) ) #NEWLINE# s = write_request_load_scenario ( d , cluster , 5 , sample_size = 3 ) #NEWLINE# def assert_created( returned_datasets ) : #NEWLINE# #INDENT# self . assertNotEqual ( returned_datasets , [ ] ) #NEWLINE# #UNINDENT# d = s . request . _create_dataset ( self . node1 ) #NEWLINE# d . addCallback ( s . request . _set_dataset_id ) #NEWLINE# self . successResultOf ( d ) #NEWLINE# d2 = s . request . control_service . list_datasets_configuration ( ) #NEWLINE# d2 . addCallback ( assert_created ) #NEWLINE# s . stop ( )