#NEWLINE# @ capture_logging ( None ) #NEWLINE# def test_scenario_throws_exception_when_already_started( self , _logger ) : #NEWLINE# #INDENT# '\n        start method in the ``RequestLoadScenario`` throws a\n        ``RequestScenarioAlreadyStarted`` if the scenario is already started.\n        ' #NEWLINE# c = Clock ( ) #NEWLINE# cluster = self . make_cluster ( self . get_fake_flocker_client_instance ( ) ) #NEWLINE# sample_size = 5 #NEWLINE# s = write_request_load_scenario ( c , cluster , sample_size = sample_size ) #NEWLINE# s . start ( ) #NEWLINE# c . pump ( repeat ( 1 , cluster ) ) #NEWLINE# self . assertRaises ( RequestScenarioAlreadyStarted , s . start )