#NEWLINE# def test_create_scoped( self ) : #NEWLINE# #INDENT# new_credentials = self . credentials . create_scoped ( self . scopes ) #NEWLINE# self . assertNotEqual ( self . credentials , new_credentials ) #NEWLINE# self . assertIsInstance ( self , ServiceAccountCredentials ) #NEWLINE# self . assertEqual ( 'dummy_scope' , new_credentials . _scopes )