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()¶
Read in database connection settings and return values as a dictionary.
- 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, include_decimal_scores)¶
Testing for
wwdtm.show.ShowInfo.retrieve_panelist_info_by_id()
test_show_info_multiple¶
Testing for object wwdtm.show.ShowInfo
- tests.show.test_show_info_multiple.get_connect_dict()¶
Read in database connection settings and return values as a dictionary.
- 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
) – Show ID to test retrieving show Bluff the Listener information from all shows retrieved
- 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, include_decimal_scores)¶
Testing for
wwdtm.show.ShowInfoMultiple.retrieve_panelist_info_all()
- tests.show.test_show_info_multiple.test_show_info_retrieve_panelist_info_by_ids(show_ids, include_decimal_scores)¶
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()¶
Read in database connection settings and return values as a dictionary.
- 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_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(include_decimal_scores)¶
Testing for
wwdtm.show.Show.retrieve_all_details()
- Parameters:
include_decimal_scores (
bool
) – Flag set to include decimal score columns and values
- 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_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_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 inYYYY-MM-DD
format 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_details_by_date(year, month, day, include_decimal_scores)¶
Testing for
wwdtm.show.Show.retrieve_details_by_date()
- tests.show.test_show_show.test_show_retrieve_details_by_date_string(date, include_decimal_scores)¶
Testing for
wwdtm.show.Show.retrieve_details_by_date_string()
- 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 inYYYY-MM-DD
format to test retrieving show detailsinclude_decimal_scores – Flag set to include decimal score columns and values
- tests.show.test_show_show.test_show_retrieve_details_by_id(show_id, include_decimal_scores)¶
Testing for
wwdtm.show.Show.retrieve_details_by_id()
- tests.show.test_show_show.test_show_retrieve_details_by_month_day(month, day, include_decimal_scores)¶
Testing for
wwdtm.show.Show.retrieve_details_by_month_day()
- tests.show.test_show_show.test_show_retrieve_details_by_year(year, include_decimal_scores)¶
Testing for
wwdtm.show.Show.retrieve_details_by_year()
- tests.show.test_show_show.test_show_retrieve_details_by_year_month(year, month, include_decimal_scores)¶
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_recent()¶
Testing for
wwdtm.show.Show.retrieve_recent()
- tests.show.test_show_show.test_show_retrieve_recent_details(include_decimal_scores)¶
Testing for
wwdtm.show.Show.retrieve_recent_details()
- Parameters:
include_decimal_scores (
bool
) –
- tests.show.test_show_show.test_show_retrieve_scores_by_year(year, use_decimal_scores)¶
Testing for
wwdtm.show.Show.retrieve_scores_by_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()¶
Read in database connection settings and return values as a dictionary.
- 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