<commit_before>#!/bin/sh

export AG_APPLICATIONS=$TESTDIR
export AG_SERVICES=$TESTDIR
export AG_SERVICE_TYPES=$TESTDIR
export AG_PROVIDERS=$TESTDIR
export ACCOUNTS=/tmp/ 

$WRAPPER ./accountstest "$@"<commit_msg>Tests: use dbus-test-runner if available<commit_after>#!/bin/sh

export AG_APPLICATIONS=$TESTDIR
export AG_SERVICES=$TESTDIR
export AG_SERVICE_TYPES=$TESTDIR
export AG_PROVIDERS=$TESTDIR
export ACCOUNTS=/tmp/ 

# If dbus-test-runner exists, use it to run the tests in a separate D-Bus
# session
if command -v dbus-test-runner > /dev/null ; then
	echo "Using dbus-test-runner"
	dbus-test-runner -m 180 -t ./accountstest
else
	echo "Using existing D-Bus session"
	$WRAPPER ./accountstest "$@"
fi
{'fraction_non_alphanumeric': 0.11205673758865248, 'fraction_numerical': 0.00425531914893617, 'mean_word_length': 5.36036036036036, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '6776532', 'n_tokens_mistral': 265, 'n_tokens_neox': 251, 'n_words': 65}