#NEWLINE# def test_run_once( self ) : #NEWLINE# #INDENT# site = self . _run_crawler_plain ( ThreadSiteCrawler , [ '--run-once' ] ) #NEWLINE# self . assertEqual ( 8 , len ( self . pages ) ) #NEWLINE# self . assertEqual ( 0 , len ( site . error_pages ) )