<commit_before>#
# Project:
#   glideinWMS
#
# File Version: 
#   $Id: test_gfi.py,v 1.1.1.1.12.1 2010/09/08 03:22:59 parag Exp $
#

import os,sys,glideFactoryInterface

glideFactoryInterface.factoryConfig.activity_log=sys.stdout
glideFactoryInterface.factoryConfig.warining_log=sys.stdout

glideFactoryInterface.advertizeGlidein("cmsitb_test3",{"Arch":"INTEL","OpSys":"Linux"},{"MinDisk":10000},{"Running":5,"Idle":10})
<commit_msg>Updated test to match new glideFactoryInterface.advertizeGlidein method signature.<commit_after>#
# Project:
#   glideinWMS
#
# File Version: 
#   $Id: test_gfi.py,v 1.1.1.1.12.1.4.1 2011/04/29 15:34:18 klarson1 Exp $
#

import os,sys,glideFactoryInterface

glideFactoryInterface.factoryConfig.activity_log=sys.stdout
glideFactoryInterface.factoryConfig.warining_log=sys.stdout

glideFactoryInterface.advertizeGlidein("factory_name", "glidein_name", "entry_name", "trust_domain", "auth_methods", ['sha1'])

{'fraction_non_alphanumeric': 0.14164004259850904, 'fraction_numerical': 0.058572949946751864, 'mean_word_length': 7.468468468468468, 'pattern_counts': {'":': 5, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 3, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7178023', 'n_tokens_mistral': 380, 'n_tokens_neox': 346, 'n_words': 46}