tests.smartapp.test_converter

Module Contents

tests.smartapp.test_converter.FIXTURE_DIR
tests.smartapp.test_converter.REQUEST_DIR
tests.smartapp.test_converter.RESPONSE_DIR
tests.smartapp.test_converter.SETTINGS_DIR
tests.smartapp.test_converter.NOW
tests.smartapp.test_converter.requests()
tests.smartapp.test_converter.responses()
tests.smartapp.test_converter.settings()
tests.smartapp.test_converter.validate_json_roundtrip(json, expected, cls)

Validate a JSON round trip.

tests.smartapp.test_converter.validate_yaml_roundtrip(yaml, expected, cls)

Validate a YAML round trip.

class tests.smartapp.test_converter.TestDatetime
test_serialize_datetime(datetime, expected)
test_deserialize_datetime(now, datetime, expected)
test_deserialize_datetime_invalid(datetime)
class tests.smartapp.test_converter.TestConvertSettings
test_boolean(settings)
test_decimal(settings)
test_device(settings)
test_email(settings)
test_enum(settings)
test_enum_group(settings)
test_icon(settings)
test_image(settings)
test_number(settings)
test_oauth(settings)
test_page(settings)
test_paragraph(settings)
test_phone(settings)
test_text(settings)
test_time(settings)
class tests.smartapp.test_converter.TestStringSecrets
test_secrets(requests, source)
class tests.smartapp.test_converter.TestConvertResponses
test_confirmation(responses)
test_configuration_initialize(responses)
test_configuration_page_only(responses)
test_configuration_page_1of2(responses)
test_install(responses)
test_update(responses)
test_uninstall(responses)
test_oauth_callback(responses)
test_event(responses)
class tests.smartapp.test_converter.TestConvertRequests
test_invalid_json()
test_mismatch_json()
test_confirmation(requests)
test_configuration_initialize(requests)
test_configuration_page(requests)
test_install(requests)
test_update(requests)
test_uninstall(requests)
test_oauth_callback(requests)
test_event_device(requests)
test_event_timer(requests)
class tests.smartapp.test_converter.TestConvertSmartAppDispatcherConfig
test_config()
class tests.smartapp.test_converter.TestConvertSmartAppDefinition
test_definition()