panelist

This module provides functions used to by pytest to run tests against the following objects:

test_panelist_appearances

Testing for object: wwdtm.panelist.PanelistAppearances

tests.panelist.test_panelist_appearances.get_connect_dict()

Read in database connection settings and return values as a dictionary.

Return type

Dict[str, Any]

Returns

A dictionary containing database connection settings for use by mysql.connector

tests.panelist.test_panelist_appearances.test_panelist_appearances_retrieve_appearances_by_id(panelist_id)

Testing for wwdtm.panelist.PanelistAppearances.retrieve_appearances_by_id()

Parameters

panelist_id (int) – Panelist ID to test retrieving panelist appearances

tests.panelist.test_panelist_appearances.test_panelist_appearances_retrieve_appearances_by_slug(panelist_slug)

Testing for wwdtm.panelist.PanelistAppearances.retrieve_appearances_by_slug()

Parameters

panelist_slug (str) – Panelist slug string to test retrieving panelist appearances

tests.panelist.test_panelist_appearances.test_panelist_appearances_retrieve_yearly_appearances_by_id(panelist_id)

Testing for wwdtm.panelist.PanelistAppearances.retrieve_yearly_appearances_by_id()

Parameters

panelist_id (int) – Panelist ID to test retrieving a panelist’s appearances

tests.panelist.test_panelist_appearances.test_panelist_appearances_retrieve_yearly_appearances_by_slug(panelist_slug)

Testing for wwdtm.panelist.PanelistAppearances.retrieve_yearly_appearances_by_slug()

Parameters

panelist_slug (str) – Panelist slug string to test retrieving panelist appearances

test_panelist_panelist

Testing for object: wwdtm.panelist.Panelist

tests.panelist.test_panelist_panelist.get_connect_dict()

Read in database connection settings and return values as a dictionary.

Return type

Dict[str, Any]

Returns

A dictionary containing database connection settings for use by mysql.connector

tests.panelist.test_panelist_panelist.test_panelist_retrieve_all()

Testing for wwdtm.panelist.Panelist.retrieve_all()

tests.panelist.test_panelist_panelist.test_panelist_retrieve_all_details()

Testing for wwdtm.panelist.Panelist.retrieve_all_details()

tests.panelist.test_panelist_panelist.test_panelist_retrieve_all_ids()

Testing for wwdtm.panelist.Panelist.retrieve_all_ids()

tests.panelist.test_panelist_panelist.test_panelist_retrieve_all_slugs()

Testing for wwdtm.panelist.Panelist.retrieve_all_slugs()

tests.panelist.test_panelist_panelist.test_panelist_retrieve_by_id(panelist_id)

Testing for wwdtm.panelist.Panelist.retrieve_by_id()

Parameters

panelist_id (int) – Panelist ID to test retrieving panelist information

tests.panelist.test_panelist_panelist.test_panelist_retrieve_by_slug(panelist_slug)

Testing for wwdtm.panelist.Panelist.retrieve_by_slug()

Parameters

panelist_slug (str) – Panelist slug string to test retrieving panelist information

tests.panelist.test_panelist_panelist.test_panelist_retrieve_details_by_id(panelist_id)

Testing for wwdtm.panelist.Panelist.retrieve_details_by_id()

Parameters

panelist_id (int) – Panelist ID to test retrieving panelist details

tests.panelist.test_panelist_panelist.test_panelist_retrieve_details_by_slug(panelist_slug)

Testing for wwdtm.panelist.Panelist.retrieve_details_by_slug()

Parameters

panelist_slug (str) – Panelist slug string to test retrieving panelist details

test_panelist_scores

Testing for object: wwdtm.panelist.PanelistScores

tests.panelist.test_panelist_scores.get_connect_dict()

Read in database connection settings and return values as a dictionary.

Return type

Dict[str, Any]

Returns

A dictionary containing database connection settings for use by mysql.connector

tests.panelist.test_panelist_scores.test_panelist_scores_retrieve_scores_by_id(panelist_id)

Testing for wwdtm.panelist.PanelistScores.retrieve_scores_by_id()

Parameters

panelist_id (int) – Panelist ID to test retrieving panelist information

tests.panelist.test_panelist_scores.test_panelist_scores_retrieve_scores_by_slug(panelist_slug)

Testing for wwdtm.panelist.PanelistScores.retrieve_scores_by_slug()

Parameters

panelist_slug (str) – Panelist slug string to test retrieving panelist information

tests.panelist.test_panelist_scores.test_panelist_scores_retrieve_scores_grouped_list_by_id(panelist_id)

Testing for wwdtm.panelist.PanelistScores.retrieve_scores_grouped_list_by_id()

Parameters

panelist_id (int) – Panelist ID to test retrieving panelist information

tests.panelist.test_panelist_scores.test_panelist_scores_retrieve_scores_grouped_list_by_slug(panelist_slug)

Testing for wwdtm.panelist.PanelistScores.retrieve_scores_grouped_list_by_slug()

Parameters

panelist_slug (str) – Panelist slug string to test retrieving panelist information

tests.panelist.test_panelist_scores.test_panelist_scores_retrieve_scores_grouped_ordered_pair_by_id(panelist_id)

Testing for wwdtm.panelist.PanelistScores.retrieve_scores_grouped_ordered_pair_by_id()

Parameters

panelist_id (int) – Panelist ID to test retrieving panelist information

tests.panelist.test_panelist_scores.test_panelist_scores_retrieve_scores_grouped_ordered_pair_by_slug(panelist_slug)

Testing for wwdtm.panelist.PanelistScores.retrieve_scores_grouped_ordered_pair_by_slug()

Parameters

panelist_slug (str) – Panelist slug string to test retrieving panelist information

tests.panelist.test_panelist_scores.test_panelist_scores_retrieve_scores_list_by_id(panelist_id)

Testing for wwdtm.panelist.PanelistScores.retrieve_scores_list_by_id()

Parameters

panelist_id (int) – Panelist ID to test retrieving panelist information

tests.panelist.test_panelist_scores.test_panelist_scores_retrieve_scores_list_by_slug(panelist_slug)

Testing for wwdtm.panelist.PanelistScores.retrieve_scores_list_by_slug()

Parameters

panelist_slug (str) – Panelist slug string to test retrieving panelist information

tests.panelist.test_panelist_scores.test_panelist_scores_retrieve_scores_ordered_pair_by_id(panelist_id)

Testing for wwdtm.panelist.PanelistScores.retrieve_scores_ordered_pair_by_id()

Parameters

panelist_id (int) – Panelist ID to test retrieving panelist information

tests.panelist.test_panelist_scores.test_panelist_scores_retrieve_scores_ordered_pair_by_slug(panelist_slug)

Testing for wwdtm.panelist.PanelistScores.retrieve_scores_ordered_pair_by_slug()

Parameters

panelist_slug (str) – Panelist slug string to test retrieving panelist information

test_panelist_statistics

Testing for object: wwdtm.panelist.PanelistStatistics

tests.panelist.test_panelist_statistics.get_connect_dict()

Read in database connection settings and return values as a dictionary.

Return type

Dict[str, Any]

Returns

A dictionary containing database connection settings for use by mysql.connector

tests.panelist.test_panelist_statistics.test_panelist_statistics_retrieve_bluffs_by_id(panelist_id)

Testing for wwdtm.panelist.PanelistStatistics.retrieve_bluffs_by_id()

Parameters

panelist_id (int) – Panelist ID to test retrieving panelist information

tests.panelist.test_panelist_statistics.test_panelist_statistics_retrieve_bluffs_by_slug(panelist_slug)

Testing for wwdtm.panelist.PanelistStatistics.retrieve_bluffs_by_slug()

Parameters

panelist_slug (str) – Panelist slug string to test retrieving panelist information

tests.panelist.test_panelist_statistics.test_panelist_statistics_retrieve_rank_info_by_id(panelist_id)

Testing for wwdtm.panelist.PanelistStatistics.retrieve_rank_info_by_id()

Parameters

panelist_id (int) – Panelist ID to test retrieving panelist information

tests.panelist.test_panelist_statistics.test_panelist_statistics_retrieve_rank_info_by_slug(panelist_slug)

Testing for wwdtm.panelist.PanelistStatistics.retrieve_rank_info_by_slug()

Parameters

panelist_slug (str) – Panelist slug string to test retrieving panelist information

tests.panelist.test_panelist_statistics.test_panelist_statistics_retrieve_statistics_by_id(panelist_id)

Testing for wwdtm.panelist.PanelistStatistics.retrieve_statistics_by_id()

Parameters

panelist_id (int) – Panelist ID to test retrieving panelist information

tests.panelist.test_panelist_statistics.test_panelist_statistics_retrieve_statistics_by_slug(panelist_slug)

Testing for wwdtm.panelist.PanelistStatistics.retrieve_statistics_by_slug()

Parameters

panelist_slug (str) – Panelist slug string to test retrieving panelist information

test_panelist_utility

Testing for object: wwdtm.panelist.PanelistUtility

tests.panelist.test_panelist_utility.get_connect_dict()

Read in database connection settings and return values as a dictionary.

Return type

Dict[str, Any]

Returns

A dictionary containing database connection settings for use by mysql.connector

tests.panelist.test_panelist_utility.test_panelist_utility_convert_id_to_slug(panelist_id)

Testing for wwdtm.panelist.PanelistUtility.convert_id_to_slug()

Parameters

panelist_id (int) – Panelist ID to test converting into panelist slug string

tests.panelist.test_panelist_utility.test_panelist_utility_convert_invalid_id_to_slug(panelist_id)

Negative testing for wwdtm.panelist.PanelistUtility.convert_id_to_slug()

Parameters

panelist_id (int) – Panelist ID to test failing to convert into panelist slug string

tests.panelist.test_panelist_utility.test_panelist_utility_convert_invalid_slug_to_id(panelist_slug)

Negative testing for wwdtm.panelist.PanelistUtility.convert_slug_to_id()

Parameters

panelist_slug (str) – Panelist slug string to test failing to convert into panelist ID

tests.panelist.test_panelist_utility.test_panelist_utility_convert_slug_to_id(panelist_slug)

Testing for wwdtm.panelist.PanelistUtility.convert_slug_to_id()

Parameters

panelist_slug (str) – Panelist slug string to test converting into panelist ID

tests.panelist.test_panelist_utility.test_panelist_utility_id_exists(panelist_id)

Testing for wwdtm.panelist.PanelistUtility.id_exists()

Parameters

panelist_id (int) – Panelist ID to test if a panelist exists

tests.panelist.test_panelist_utility.test_panelist_utility_id_not_exists(panelist_id)

Negative testing for wwdtm.panelist.PanelistUtility.id_exists()

Parameters

panelist_id (int) – Panelist ID to test if a panelist does not exist

tests.panelist.test_panelist_utility.test_panelist_utility_slug_exists(panelist_slug)

Testing for wwdtm.panelist.PanelistUtility.slug_exists()

Parameters

panelist_slug (str) – Panelist slug string to test if a panelist exists

tests.panelist.test_panelist_utility.test_panelist_utility_slug_not_exists(panelist_slug)

Negative testing for wwdtm.panelist.PanelistUtility.slug_exists()

Parameters

panelist_slug (str) – Panelist slug string to test if a panelist does not exist