def test_run_random():
 path = fs.relpath(join(abspath(dirname(__file__)), 'no_features', 'unexistent-folder'))
 runner = Runner(path, random=True)
 assert_equals(True, runner.random)
 with patch.object(random, 'shuffle') as pshuffle:
  runner.run()
  pshuffle.assert_called_once_with([])

def test_run_random ( ) : path = fs . relpath ( join ( abspath ( dirname ( __file__ ) ) , 'no_features' , 'unexistent-folder' ) ) runner = Runner ( path , random = True ) assert_equals ( True , runner . random ) with patch . object ( random , 'shuffle' ) as pshuffle : runner . run ( ) pshuffle . assert_called_once_with ( [ ] )
randomise the feature order .