This module contains generator functions for variable injecting of py.test framework.
Some of them are cached, some not. I don’t know how to make multi-level dependency yet. Update 2013-08-19: Cahnged to newer styled fixtures. Dependency now should work O.K. :)
PATH environment variable
| Returns: | List of directories in $PATH |
|---|---|
| Return type: | list |
Setups variables for testing
| Returns: | All Audrey-relevant environment variables. |
|---|---|
| Return type: | dict |
Returns list of all services with enablement in each runlevel
| Returns: | All services. |
|---|---|
| Return type: | dict |
Setups cached variable whether it’s ec2 deployment or not.
| Returns: | Whether is this EC2 deployment (cached). |
|---|---|
| Return type: | bool |
Whether is GPG check enabled in yum
| Returns: | GPG check status |
|---|---|
| Return type: | bool |
Setups cached variable whether it’s RHEV deployment or not.
| Returns: | Whether is this RHEV deployment (cached). |
|---|---|
| Return type: | bool |
Setups cached variable whether it’s vsphere deployment or not.
| Returns: | Whether is this vsphere deployment (cached). |
|---|---|
| Return type: | bool |
Returns boolean (True of False) to indicate whether the provided katello server is accessible
| Parameters: | request – py.test.request |
|---|---|
| Returns: | Accesibility of Katello server |
| Return type: | bool |
Returns list of all installed packages in computer.
| Returns: | List of all installed packages in computer. |
|---|---|
| Return type: | list |
Returns list of all installed packages in computer.
| Returns: | List of all installed packages in computer. |
|---|---|
| Return type: | list |
Detects whether is SElinux enabled or not
| Returns: | SElinux status |
|---|---|
| Return type: | bool |
Returns current enforcing mode of SELinux
| Returns: | SElinux enforcing status |
|---|---|
| Return type: | str |
Returns current enforcing mode of SELinux from config file
| Returns: | SElinux enforcing status |
|---|---|
| Return type: | str |
Returns current SELINUX type from config file
| Returns: | SElinux type |
|---|---|
| Return type: | str |
Setups cached variable of version of sub-man
| Returns: | SM version from cache |
|---|---|
| Return type: | 2-tuple |
Determine applicable system groups for the current system
| Returns: | All Audrey-relevant environment variables. |
|---|---|
| Return type: | dict |