scorekeeper

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

test_scorekeeper_appearances

Testing for object: wwdtm.scorekeeper.ScorekeeperAppearances

tests.scorekeeper.test_scorekeeper_appearances.get_connect_dict()

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

Return type

Dict[str, Any]

tests.scorekeeper.test_scorekeeper_appearances.test_scorekeeper_appearance_retrieve_appearances_by_id(scorekeeper_id)

Testing for wwdtm.scorekeeper.ScorekeeperAppearances.retrieve_appearances_by_id()

Parameters

scorekeeper_id (int) – Scorekeeper ID to test retrieving scorekeeper appearances

tests.scorekeeper.test_scorekeeper_appearances.test_scorekeeper_appearance_retrieve_appearances_by_slug(scorekeeper_slug)

Testing for wwdtm.scorekeeper.ScorekeeperAppearances.retrieve_appearances_by_slug()

Parameters

scorekeeper_slug (str) – Scorekeeper slug string to test retrieving scorekeeper appearances

test_scorekeeper_scorekeeper

Testing for object: wwdtm.scorekeeper.Scorekeeper

tests.scorekeeper.test_scorekeeper_scorekeeper.get_connect_dict()

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

Return type

Dict[str, Any]

tests.scorekeeper.test_scorekeeper_scorekeeper.test_scorekeeper_retrieve_all()

Testing for wwdtm.scorekeeper.Scorekeeper.retrieve_all()

tests.scorekeeper.test_scorekeeper_scorekeeper.test_scorekeeper_retrieve_all_details()

Testing for wwdtm.scorekeeper.Scorekeeper.retrieve_all_details()

tests.scorekeeper.test_scorekeeper_scorekeeper.test_scorekeeper_retrieve_all_ids()

Testing for wwdtm.scorekeeper.Scorekeeper.retrieve_all_ids()

tests.scorekeeper.test_scorekeeper_scorekeeper.test_scorekeeper_retrieve_all_slugs()

Testing for wwdtm.scorekeeper.Scorekeeper.retrieve_all_slugs()

tests.scorekeeper.test_scorekeeper_scorekeeper.test_scorekeeper_retrieve_by_id(scorekeeper_id)

Testing for wwdtm.scorekeeper.Scorekeeper.retrieve_by_id()

Parameters

scorekeeper_id (int) – Scorekeeper ID to test retrieving scorekeeper information

tests.scorekeeper.test_scorekeeper_scorekeeper.test_scorekeeper_retrieve_by_slug(scorekeeper_slug)

Testing for wwdtm.scorekeeper.Scorekeeper.retrieve_by_slug()

Parameters

scorekeeper_slug (str) – Scorekeeper slug string to test retrieving scorekeeper information

tests.scorekeeper.test_scorekeeper_scorekeeper.test_scorekeeper_retrieve_details_by_id(scorekeeper_id)

Testing for wwdtm.scorekeeper.Scorekeeper.retrieve_details_by_id()

Parameters

scorekeeper_id (int) – Scorekeeper ID to test retrieving scorekeeper details

tests.scorekeeper.test_scorekeeper_scorekeeper.test_scorekeeper_retrieve_details_by_slug(scorekeeper_slug)

Testing for wwdtm.scorekeeper.Scorekeeper.retrieve_details_by_slug()

Parameters

scorekeeper_slug (str) – Scorekeeper slug string to test retrieving scorekeeper details

test_scorekeeper_utility

Testing for object: wwdtm.scorekeeper.ScorekeeperUtility

tests.scorekeeper.test_scorekeeper_utility.get_connect_dict()

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

Return type

Dict[str, Any]

tests.scorekeeper.test_scorekeeper_utility.test_scorekeeper_utility_convert_id_to_slug(scorekeeper_id)

Testing for wwdtm.scorekeeper.ScorekeeperUtility.convert_id_to_slug()

Parameters

scorekeeper_id (int) – Scorekeeper ID to test converting into scorekeeper slug string

tests.scorekeeper.test_scorekeeper_utility.test_scorekeeper_utility_convert_invalid_id_to_slug(scorekeeper_id)

Negative testing for wwdtm.scorekeeper.ScorekeeperUtility.convert_id_to_slug()

Parameters

scorekeeper_id (int) – Scorekeeper ID to test failing to convert into scorekeeper slug string

tests.scorekeeper.test_scorekeeper_utility.test_scorekeeper_utility_convert_invalid_slug_to_id(scorekeeper_slug)

Negative testing for wwdtm.scorekeeper.ScorekeeperUtility.convert_slug_to_id()

Parameters

scorekeeper_slug (str) – Scorekeeper slug string to test failing to convert into scorekeeper ID

tests.scorekeeper.test_scorekeeper_utility.test_scorekeeper_utility_convert_slug_to_id(scorekeeper_slug)

Testing for wwdtm.scorekeeper.ScorekeeperUtility.convert_slug_to_id()

Parameters

scorekeeper_slug (str) – Scorekeeper slug string to test converting into scorekeeper ID

tests.scorekeeper.test_scorekeeper_utility.test_scorekeeper_utility_id_exists(scorekeeper_id)

Testing for wwdtm.scorekeeper.ScorekeeperUtility.id_exists()

Parameters

scorekeeper_id (int) – Scorekeeper ID to test if a scorekeeper exists

tests.scorekeeper.test_scorekeeper_utility.test_scorekeeper_utility_id_not_exists(scorekeeper_id)

Negative testing for wwdtm.scorekeeper.ScorekeeperUtility.id_exists()

Parameters

scorekeeper_id (int) – Scorekeeper ID to test if a scorekeeper does not exist

tests.scorekeeper.test_scorekeeper_utility.test_scorekeeper_utility_slug_exists(scorekeeper_slug)

Testing for wwdtm.scorekeeper.ScorekeeperUtility.slug_exists()

Parameters

scorekeeper_slug (str) – Scorekeeper slug string to test if a scorekeeper exists

tests.scorekeeper.test_scorekeeper_utility.test_scorekeeper_utility_slug_not_exists(scorekeeper_slug)

Negative testing for wwdtm.scorekeeper.ScorekeeperUtility.slug_exists()

Parameters

scorekeeper_slug (str) – Scorekeeper slug string to test if a scorekeeper does not exist