#NEWLINE# def test_subversion( self ) : #NEWLINE# #INDENT# '\n        L{getRepositoryCommand} from a Subversion checkout returns\n        L{SVNCommand}.\n        ' #NEWLINE# repository = self . repos . child ( 'repository' ) #NEWLINE# checkout = self . repos . child ( 'checkout' ) #NEWLINE# runCommand ( [ 'svnadmin' , 'create' , repository . path ] ) #NEWLINE# runCommand ( [ 'svn' , 'checkout' , ( 'file://' + repository . path ) , checkout . path ] ) #NEWLINE# cmd = getRepositoryCommand ( self . repos . child ( 'checkout' ) ) #NEWLINE# self . assertIs ( cmd , SVNCommand )