function _password_policy_is_running_test in Password Policy 7
Returns whether test is running.
1 call to _password_policy_is_running_test()
- _password_policy_get_time_per_active_clock in ./
password_policy.time.inc - Gets time according to the active clock.
File
- ./
password_policy.time.inc, line 95 - Password Policy time retrieval functions.
Code
function _password_policy_is_running_test() {
$test_info =& $GLOBALS['drupal_test_info'];
return !empty($test_info['test_run_id']);
}