show¶
This module provides functions used to by pytest to run tests against
the following objects:
test_show_info¶
Testing for object wwdtm.show.ShowInfo.
- tests.show.test_show_info.get_connect_dict()¶
Retrieves database connection settings.
- tests.show.test_show_info.test_show_info_retrieve_bluff_info_by_id(show_id)¶
Testing for
wwdtm.show.ShowInfo.retrieve_bluff_info_by_id().- Parameters:
show_id (int) -- Show ID to test retrieving show Bluff the Listener information
- tests.show.test_show_info.test_show_info_retrieve_core_info_by_id(show_id)¶
Testing for
wwdtm.show.ShowInfo.retrieve_core_info_by_id().- Parameters:
show_id (int) -- Show ID to test retrieving show core information
- tests.show.test_show_info.test_show_info_retrieve_guest_info_by_id(show_id)¶
Testing for
wwdtm.show.ShowInfo.retrieve_guest_info_by_id().- Parameters:
show_id (int) -- Show ID to test retrieving show guest information
- tests.show.test_show_info.test_show_info_retrieve_panelist_info_by_id(show_id)¶
Testing for
wwdtm.show.ShowInfo.retrieve_panelist_info_by_id().- Parameters:
show_id (int) -- Show ID to test retrieving show panelist information
test_show_info_multiple¶
Testing for object wwdtm.show.ShowInfo.
- tests.show.test_show_info_multiple.get_connect_dict()¶
Retrieves database connection settings.
- tests.show.test_show_info_multiple.test_show_info_retrieve_bluff_info_all(show_id)¶
Testing for
wwdtm.show.ShowInfoMultiple.retrieve_bluff_info_all().- Parameters:
show_id (int)
- tests.show.test_show_info_multiple.test_show_info_retrieve_bluff_info_by_ids(show_ids)¶
Testing for
wwdtm.show.ShowInfoMultiple.retrieve_bluff_info_by_ids().
- tests.show.test_show_info_multiple.test_show_info_retrieve_core_info_all(show_id)¶
Testing for
wwdtm.show.ShowInfoMultiple.retrieve_core_info_all().- Parameters:
show_id (int) -- Show ID to test retrieving show core information from all shows retrieved
- tests.show.test_show_info_multiple.test_show_info_retrieve_core_info_by_ids(show_ids)¶
Testing for
wwdtm.show.ShowInfoMultiple.retrieve_core_info_by_ids().
- tests.show.test_show_info_multiple.test_show_info_retrieve_guest_info_all(show_id)¶
Testing for
wwdtm.show.ShowInfoMultiple.retrieve_guest_info_all().- Parameters:
show_id (int) -- Show ID to test retrieving show guest information for all shows retrieved
- tests.show.test_show_info_multiple.test_show_info_retrieve_guest_info_by_ids(show_ids)¶
Testing for
wwdtm.show.ShowInfoMultiple.retrieve_guest_info_by_ids().
- tests.show.test_show_info_multiple.test_show_info_retrieve_panelist_info_all(show_id)¶
Testing for
wwdtm.show.ShowInfoMultiple.retrieve_panelist_info_all().- Parameters:
show_id (int) -- Show ID to test retrieving show panelist information for all shows retrieved
- tests.show.test_show_info_multiple.test_show_info_retrieve_panelist_info_by_ids(show_ids)¶
Testing for
wwdtm.show.ShowInfoMultiple.retrieve_panelist_info_by_ids().
test_show_show¶
Testing for object wwdtm.show.Show.
- tests.show.test_show_show.get_connect_dict()¶
Retrieves database connection settings.
- tests.show.test_show_show.test_show_retrieve_all()¶
Testing for
wwdtm.show.Show.retrieve_all().
- tests.show.test_show_show.test_show_retrieve_all_best_of_repeats()¶
Testing for
wwdtm.show.Show.retrieve_all_best_of_repeats().
- tests.show.test_show_show.test_show_retrieve_all_best_of_repeats_details()¶
Testing for
wwdtm.show.Show.retrieve_all_best_of_repeats_details().
- tests.show.test_show_show.test_show_retrieve_all_best_ofs(inclusive)¶
Testing for
wwdtm.show.Show.retrieve_all_best_ofs().- Parameters:
inclusive (bool) -- Include Repeat shows in the list of Best Of shows
- tests.show.test_show_show.test_show_retrieve_all_best_ofs_details(inclusive)¶
Testing for
wwdtm.show.Show.retrieve_all_best_ofs_details().- Parameters:
inclusive (bool) -- Include Repeat shows in the list of Best Of shows
- tests.show.test_show_show.test_show_retrieve_all_counts_by_year()¶
Testing for
wwdtm.show.Show.retrieve_all_counts_by_year().
- tests.show.test_show_show.test_show_retrieve_all_dates()¶
Testing for
wwdtm.show.Show.retrieve_all_dates().
- tests.show.test_show_show.test_show_retrieve_all_dates_tuple()¶
Testing for
wwdtm.show.Show.retrieve_all_dates_tuple().
- tests.show.test_show_show.test_show_retrieve_all_details()¶
Testing for
wwdtm.show.Show.retrieve_all_details().
- tests.show.test_show_show.test_show_retrieve_all_ids()¶
Testing for
wwdtm.show.Show.retrieve_all_ids().
- tests.show.test_show_show.test_show_retrieve_all_repeat_best_ofs()¶
Testing for
wwdtm.show.Show.retrieve_all_repeat_best_ofs().
- tests.show.test_show_show.test_show_retrieve_all_repeat_best_ofs_details()¶
Testing for
wwdtm.show.Show.retrieve_all_repeat_best_ofs_details().
- tests.show.test_show_show.test_show_retrieve_all_repeat_details(inclusive)¶
Testing for
wwdtm.show.Show.retrieve_all_repeat_details().- Parameters:
inclusive (bool) -- Include Best Of shows in the list of repeat shows
- tests.show.test_show_show.test_show_retrieve_all_repeats(inclusive)¶
Testing for
wwdtm.show.Show.retrieve_all_repeats().- Parameters:
inclusive (bool) -- Include Best Of shows in the list of repeat shows
- tests.show.test_show_show.test_show_retrieve_all_show_years_months()¶
Testing for
wwdtm.show.Show.retrieve_all_show_years_months().
- tests.show.test_show_show.test_show_retrieve_all_show_years_months_tuple()¶
Testing for
wwdtm.show.Show.retrieve_all_shows_years_months_tuple().
- tests.show.test_show_show.test_show_retrieve_best_ofs_by_year(year, inclusive)¶
Testing for
wwdtm.show.Show.retrieve_best_ofs_by_year().
- tests.show.test_show_show.test_show_retrieve_best_ofs_details_by_year(year, inclusive)¶
Testing for
wwdtm.show.Show.retrieve_best_ofs_details_by_year().
- tests.show.test_show_show.test_show_retrieve_by_date(year, month, day)¶
Testing for
wwdtm.show.Show.retrieve_by_date().
- tests.show.test_show_show.test_show_retrieve_by_date_string(date)¶
Testing for
wwdtm.show.Show.retrieve_by_date_string().- Parameters:
date (str) -- Show date string in
YYYY-MM-DDformat to test retrieving a show's information
- tests.show.test_show_show.test_show_retrieve_by_id(show_id)¶
Testing for
wwdtm.show.Show.retrieve_by_id().- Parameters:
show_id (int) -- Show ID to test retrieving show information
- tests.show.test_show_show.test_show_retrieve_by_month_day(month, day)¶
Testing for
wwdtm.show.Show.retrieve_by_month_day().
- tests.show.test_show_show.test_show_retrieve_by_year(year)¶
Testing for
wwdtm.show.Show.retrieve_by_year().- Parameters:
year (int) -- Four digit year to test retrieving show information
- tests.show.test_show_show.test_show_retrieve_by_year_month(year, month)¶
Testing for
wwdtm.show.Show.retrieve_by_year_month().
- tests.show.test_show_show.test_show_retrieve_counts_by_year(year, inclusive)¶
Testing for
wwdtm.show.Show.retrieve_counts_by_year().
- tests.show.test_show_show.test_show_retrieve_details_by_date(year, month, day)¶
Testing for
wwdtm.show.Show.retrieve_details_by_date().
- tests.show.test_show_show.test_show_retrieve_details_by_date_string(date)¶
Testing for
wwdtm.show.Show.retrieve_details_by_date_string().- Parameters:
date (str) -- Show date string in
YYYY-MM-DDformat to test retrieving show details
- tests.show.test_show_show.test_show_retrieve_details_by_date_string_decimal(date)¶
Testing for
wwdtm.show.Show.retrieve_details_by_date_string()with decimal scores.- Parameters:
date (str) -- Show date string in
YYYY-MM-DDformat to test retrieving show details
- tests.show.test_show_show.test_show_retrieve_details_by_id(show_id)¶
Testing for
wwdtm.show.Show.retrieve_details_by_id().- Parameters:
show_id (int) -- Show ID to test retrieving show details
- tests.show.test_show_show.test_show_retrieve_details_by_month_day(month, day)¶
Testing for
wwdtm.show.Show.retrieve_details_by_month_day().
- tests.show.test_show_show.test_show_retrieve_details_by_year(year)¶
Testing for
wwdtm.show.Show.retrieve_details_by_year().- Parameters:
year (int) -- Four digit year to test retrieving show details
- tests.show.test_show_show.test_show_retrieve_details_by_year_month(year, month)¶
Testing for
wwdtm.show.Show.retrieve_details_by_year_month().
- tests.show.test_show_show.test_show_retrieve_months_by_year(year)¶
Testing for
wwdtm.show.Show.retrieve_months_by_year().- Parameters:
year (int) -- Four digit year to test retrieving a list of months
- tests.show.test_show_show.test_show_retrieve_random()¶
Testing for
wwdtm.show.Show.retrieve_random().- Return type:
None
- tests.show.test_show_show.test_show_retrieve_random_by_year(year)¶
Testing for
wwdtm.show.Show.retrieve_random_by_year().- Parameters:
year (int)
- Return type:
None
- tests.show.test_show_show.test_show_retrieve_random_date()¶
Testing for
wwdtm.show.Show.retrieve_random_date().- Return type:
None
- tests.show.test_show_show.test_show_retrieve_random_date_by_year(year)¶
Testing for
wwdtm.show.Show.retrieve_random_date_by_year().- Parameters:
year (int)
- tests.show.test_show_show.test_show_retrieve_random_date_object()¶
Testing for
wwdtm.show.Show.retrieve_random_date_object().- Return type:
None
- tests.show.test_show_show.test_show_retrieve_random_date_object_by_year(year)¶
Testing for
wwdtm.show.Show.retrieve_random_date_object_by_year().- Parameters:
year (int)
- tests.show.test_show_show.test_show_retrieve_random_details()¶
Testing for
wwdtm.panelist.Show.retrieve_random_details().- Return type:
None
- tests.show.test_show_show.test_show_retrieve_random_details_by_year(year)¶
Testing for
wwdtm.panelist.Show.retrieve_random_details_by_year().- Parameters:
year (int)
- Return type:
None
- tests.show.test_show_show.test_show_retrieve_random_id()¶
Testing for
wwdtm.show.Show.retrieve_random_id().- Return type:
None
- tests.show.test_show_show.test_show_retrieve_random_id_by_year(year)¶
Testing for
wwdtm.show.Show.retrieve_random_id_by_year().- Parameters:
year (int)
- tests.show.test_show_show.test_show_retrieve_recent()¶
Testing for
wwdtm.show.Show.retrieve_recent().
- tests.show.test_show_show.test_show_retrieve_recent_details()¶
Testing for
wwdtm.show.Show.retrieve_recent_details().
- tests.show.test_show_show.test_show_retrieve_repeat_best_ofs_by_year(year)¶
Testing for
wwdtm.show.Show.retrieve_repeat_best_ofs_by_year().- Parameters:
year (int) -- Four digit year to test retrieving show information
- tests.show.test_show_show.test_show_retrieve_repeat_best_ofs_details_by_year(year)¶
Testing for
wwdtm.show.Show.retrieve_repeat_best_ofs_details_by_year().- Parameters:
year (int) -- Four digit year to test retrieving show information
- tests.show.test_show_show.test_show_retrieve_repeats_by_year(year, inclusive)¶
Testing for
wwdtm.show.Show.retrieve_best_ofs_by_year().
- tests.show.test_show_show.test_show_retrieve_repeats_details_by_year(year, inclusive)¶
Testing for
wwdtm.show.Show.retrieve_best_ofs_details_by_year().
- tests.show.test_show_show.test_show_retrieve_scores_by_year(year)¶
Testing for
wwdtm.show.Show.retrieve_scores_by_year().- Parameters:
year (int) -- Four digit year to test retrieving scores for a show year
- tests.show.test_show_show.test_show_retrieve_years()¶
Testing for
wwdtm.show.Show.retrieve_years().
test_show_utility¶
Testing for object wwdtm.show.ShowUtility.
- tests.show.test_show_utility.get_connect_dict()¶
Retrieves database connection settings.
- tests.show.test_show_utility.test_show_utility_convert_date_to_id(year, month, day)¶
Testing for
wwdtm.show.ShowUtility.convert_date_to_id().
- tests.show.test_show_utility.test_show_utility_convert_id_to_date(show_id)¶
Testing for
wwdtm.show.ShowUtility.convert_id_to_date().- Parameters:
show_id (int) -- Show ID to test converting into show date
- tests.show.test_show_utility.test_show_utility_convert_invalid_date_to_id(year, month, day)¶
Negative testing for
wwdtm.show.ShowUtility.convert_date_to_id().
- tests.show.test_show_utility.test_show_utility_convert_invalid_id_to_date(show_id)¶
Negative testing for
wwdtm.show.ShowUtility.convert_id_to_date().- Parameters:
show_id (int) -- Show ID to test failing to convert into show date
- tests.show.test_show_utility.test_show_utility_date_exists(year, month, day)¶
Testing for
wwdtm.show.ShowUtility.date_exists().
- tests.show.test_show_utility.test_show_utility_date_not_exists(year, month, day)¶
Negative testing for
wwdtm.show.ShowUtility.date_exists().
- tests.show.test_show_utility.test_show_utility_id_exists(show_id)¶
Testing for
wwdtm.show.ShowUtility.id_exists().- Parameters:
show_id (int) -- Show ID to test if a show exists
- tests.show.test_show_utility.test_show_utility_id_not_exists(show_id)¶
Negative testing for
wwdtm.show.ShowUtility.id_exists().- Parameters:
show_id (int) -- Show ID to test if a show does not exist