def test_get_plays_by_stream_resolution(): client = raw_client() plays_by_stream_resolution = client.get_plays_by_stream_resolution() assert plays_by_stream_resolution is not None assert type(plays_by_stream_resolution) == dict
def test_get_export_fields(): client = raw_client() export_fields = client.get_export_fields(media_type="movie") assert export_fields is not None assert type(export_fields) == dict
def test_get_geoip_lookup(): client = raw_client() geoip_lookup = client.get_geoip_lookup("100.100.1.10") assert geoip_lookup is not None assert type(geoip_lookup) == dict
def test_arnold(): client = raw_client() arnold_quote = client.arnold assert arnold_quote is not None assert type(arnold_quote) == str
def test_activity_summary_message(): client = raw_client() activity = client.activity_summary_message assert activity is not None assert type(activity) == str
def test_get_users_table(): client = raw_client() users_table = client.get_users_table() assert users_table is not None assert type(users_table) == dict
def test_status(): client = raw_client() status = client.status() assert status is not None assert type(status) == dict
def test_docs(): client = raw_client() docs = client.docs assert docs is not None assert type(docs) == dict
def test_get_recently_added(): client = raw_client() recently_added = client.get_recently_added(count=10, media_type='movie') assert recently_added is not None assert type(recently_added) == dict
def test_get_plex_log(): client = raw_client() plex_log = client.get_plex_log() assert plex_log is not None assert type(plex_log) == dict
def test_pms_update(): client = raw_client() pms_update = client.pms_update assert pms_update is not None assert type(pms_update) == dict
def test_get_plays_per_month(): client = raw_client() plays_per_month = client.get_plays_per_month() assert plays_per_month is not None assert type(plays_per_month) == dict
def test_get_plays_by_top_10_users(): client = raw_client() plays_by_top_10_users = client.get_plays_by_top_10_users() assert plays_by_top_10_users is not None assert type(plays_by_top_10_users) == dict
def test_get_plays_by_stream_type(): client = raw_client() plays_by_stream_type = client.get_plays_by_stream_type() assert plays_by_stream_type is not None assert type(plays_by_stream_type) == dict
def test_docs_md(): client = raw_client() docs = client.docs_md assert docs is not None assert type(docs) == str
def test_server_friendly_name(): client = raw_client() server_friendly_name = client.server_friendly_name assert server_friendly_name is not None assert type(server_friendly_name) == str
def test_users(): client = raw_client() users = client.users assert users is not None assert type(users) == list
def test_server_identity(): client = raw_client() server_identity = client.server_identity assert server_identity is not None assert type(server_identity) == dict
def test_get_whois_lookup(): client = raw_client() whois_lookup = client.get_whois_lookup('google.com') assert whois_lookup is not None assert type(whois_lookup) == dict
def test_servers_info(): client = raw_client() servers_info = client.servers_info assert servers_info is not None assert type(servers_info) == list
def test_update_check(): client = raw_client() update_check = client.update_check assert update_check is not None assert type(update_check) == dict
def test_get_settings(): client = raw_client() settings = client.get_settings() assert settings is not None assert type(settings) == dict
def test_activity_summary(): client = raw_client() activity = client.activity_summary assert activity is not None assert type(activity) == dict
def test_get_api_key(): no_key_client = raw_client(no_key=True) key = no_key_client.get_api_key() assert key is not None assert key != ''
def test_date_formats(): client = raw_client() date_formats = client.date_formats assert date_formats is not None assert type(date_formats) == dict
def test_get_stream_type_by_top_10_users(): client = raw_client() stream_type_by_top_10_users = client.get_stream_type_by_top_10_users() assert stream_type_by_top_10_users is not None assert type(stream_type_by_top_10_users) == dict
def test_get_exports_table(): client = raw_client() exports = client.get_exports_table() assert exports is not None assert type(exports) == dict
def test_user_names(): client = raw_client() user_names = client.user_names assert user_names is not None assert type(user_names) == list
def test_get_history(): client = raw_client() history = client.get_history() assert history is not None assert type(history) == dict
def test_get_plays_by_hour_of_day(): client = raw_client() plays_by_hour_of_day = client.get_plays_by_hour_of_day() assert plays_by_hour_of_day is not None assert type(plays_by_hour_of_day) == dict