test_SERVICES Module

This file contains tests which can test various aspects around services.

class test_SERVICES.TestServices[source]

Bases: object

chkconfig_list()[source]

Returns list of all services with enablement in each runlevel

Returns:All services.
Return type:dict
service_check(chkconfig_list)[source]

Produces service-checking fixture

test_evm_running()[source]

Checks whether EVM service is running

Raises :AssertionError
test_httpd_running()[source]

Checks whether httpd service is running

Raises :AssertionError
test_iptables_running()[source]

Checks whether iptables service is running

Raises :AssertionError
test_service_enabled(service_check, service, runlevel, state)[source]

Tests that all services specified in parametrized/services

Previous topic

test_SELINUX Module

Next topic

test_SHELLS Module

This Page