#NEWLINE# def testImportTabDelimited( self ) : #NEWLINE# #INDENT# Category . objects . all ( ) . delete ( ) #NEWLINE# self . _import_file ( 'test_category_tabs.txt' ) #NEWLINE# items = Category . objects . all ( ) #NEWLINE# self . assertEqual ( items [ 0 ] . name , 'Category 1' ) #NEWLINE# self . assertEqual ( items [ 1 ] . name , 'Category 1-1' ) #NEWLINE# self . assertEqual ( self [ 2 ] . name , 'Category 1-2' )