Exemplo n.º 1
0
 def test_app_type_lambda():
     """Tests get/set of app_type to labmda."""
     # Arrange
     app = App()
     # Act
     expected = APP_TYPE_LAMBDA
     app.app_type = expected
     actual = app.app_type
     # Assert
     assert expected == actual
Exemplo n.º 2
0
 def test_app_type_webhook():
     """Tests get/set of app_type to webhook."""
     # Arrange
     app = App()
     # Act
     expected = APP_TYPE_WEBHOOK
     app.app_type = expected
     actual = app.app_type
     # Assert
     assert expected == actual