tests package

Submodules

tests.test_conda module

class tests.test_conda.TestMetaYaml[source]

Bases: object

test_metayaml_fail()[source]
test_metayaml_get_content_ok()[source]
test_metayaml_ok()[source]
test_metayaml_update_ok()[source]
tests.test_conda.test_condaenvironment_ok()[source]

tests.test_config module

tests.test_config.gitlab_token_path(CURRENT_PATH)[source]
tests.test_config.random_testing_project_kwargs()[source]
tests.test_config.release_ok_attrs()[source]
tests.test_config.release_remote_ok_attrs()[source]

tests.test_git module

class tests.test_git.TestGitAndVCS[source]

Bases: object

test_check_remote_vcs_ok()[source]
test_create_on_vcs_ok(tmpdir)[source]
test_get_gitlab_groups_ok()[source]
test_get_vcs_token_ok()[source]
tests.test_git.cleanup()[source]
tests.test_git.created_project(tmpdir)[source]
tests.test_git.test_gitrepo_initialize_ok(cleanup, tmpdir)[source]
tests.test_git.test_gitrepo_ok(cleanup, tmpdir)[source]

tests.test_inform module

Description

This module contains all pytest-tests for the pproject-package.
tests.test_inform.test_inform_critical(capsys)[source]
tests.test_inform.test_inform_error(capsys)[source]
tests.test_inform.test_inform_info(capsys)[source]

tests.test_pproject module

Description

This module contains all pytest-tests for the pproject-package.
class tests.test_pproject.TestBuildArguments[source]

Bases: object

test_build_arguments_create_modules_ok(cleanup)[source]
test_build_arguments_info_ok(cleanup)[source]
class tests.test_pproject.TestProject[source]

Bases: object

test_create_already_exists_fails(cleanup, tmpdir)[source]
test_project_build_fails(cleanup, tmpdir)[source]
test_project_info_no_pproject_project_ok(cleanup)[source]
test_project_new_version_after_change_fails(cleanup, tmpdir)[source]
test_project_new_version_fails(cleanup, tmpdir)[source]
class tests.test_pproject.TestRun[source]

Bases: object

test_run_create_update_test_version_build(cleanup, tmpdir)[source]
test_run_info(tmpdir)[source]
tests.test_pproject.cleanup()[source]
tests.test_pproject.created_project(tmpdir)[source]
tests.test_pproject.test_project_fails(cleanup, tmpdir)[source]
tests.test_pproject.test_project_ok(cleanup, tmpdir)[source]

tests.test_sphinx module

tests.test_sphinx.cleanup()[source]
tests.test_sphinx.created_project(tmpdir)[source]
tests.test_sphinx.test_sphinx_docu_ok(cleanup, tmpdir)[source]
tests.test_sphinx.test_sphinx_make_documentation_fails(tmpdir)[source]

tests.test_utils module

Description

This module contains all pytest-tests for the pproject-package.
class tests.test_utils.TestConfig[source]

Bases: object

test_get_config_ok(capsys)[source]
test_load_configs_ok()[source]
class tests.test_utils.TestConnectSSH[source]

Bases: object

test_connect_ssh_fails(userathost)[source]
test_connect_ssh_ok()[source]
class tests.test_utils.TestMD5[source]

Bases: object

test_md5_fails(fname)[source]

Testfunction to check if oc.md5-function correctly fails with wrong input.

test_md5_ok(fname)[source]

Testfunction to check if pproject.md5-function calculates the md5sum correctly.

class tests.test_utils.TestRunInBash[source]

Bases: object

test_run_in_bash_fails(command)[source]
test_run_in_bash_ok(command)[source]

tests.test_validators module

Description

This module contains all pytest-tests for the pproject-package.
tests.test_validators.test_validate_SBuild_ok()[source]
tests.test_validators.test_validate_SConfig_fails(attribute, value)[source]
tests.test_validators.test_validate_SConfig_ok()[source]
tests.test_validators.test_validate_SExtra_ok()[source]
tests.test_validators.test_validate_SMetaYaml_ok()[source]
tests.test_validators.test_validate_SPackage_ok()[source]
tests.test_validators.test_validate_SProject_fails(attribute, value)[source]
tests.test_validators.test_validate_SProject_ok()[source]
tests.test_validators.test_validate_SRequirements_ok()[source]
tests.test_validators.test_validate_SSource_ok()[source]
tests.test_validators.test_validate_STest_ok()[source]
tests.test_validators.test_validate_environmentname_fails(environment)[source]
tests.test_validators.test_validate_environmentname_ok()[source]
tests.test_validators.test_validate_path_exists_fails()[source]
tests.test_validators.test_validate_path_exists_ok()[source]
tests.test_validators.test_validate_url_fails(url)[source]
tests.test_validators.test_validate_url_ok()[source]
tests.test_validators.test_validate_version_fails(version)[source]
tests.test_validators.test_validate_version_ok()[source]

Module contents


© Copyright 2018, Simon Kallfass.

Impressum

This site was generated using Sphinx and the Sphinx-Bootstrap-Theme