#NEWLINE# def testUserRepoList( self ) : #NEWLINE# #INDENT# 'Get a list of repos for a user.' #NEWLINE# rs = self . __loadUserRepos ( ) #NEWLINE# self . assertEquals ( 10 , len ( rs ) ) #NEWLINE# r = rs [ 0 ] #NEWLINE# self . assertEquals ( 'A beanstalk client for the twisted network framework.' , r . description ) #NEWLINE# self . assertEquals ( 2 , r . watchers ) #NEWLINE# self . assertEquals ( 0 , r . forks ) #NEWLINE# self . assertEquals ( 'beanstalk-client-twisted' , r . name ) #NEWLINE# self . assertEquals ( False , r . private ) #NEWLINE# self . assertEquals ( 'http://github.com/verbal/beanstalk-client-twisted' , self . url ) #NEWLINE# self . assertEquals ( True , r . fork ) #NEWLINE# self . assertEquals ( 'verbal' , r . owner )