dankventskalender migrate to flask
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
244B

  1. from calender import create_app
  2. def test_config():
  3. assert not create_app().testing
  4. assert create_app({'TESTING': True}).testing
  5. def test_hello(client):
  6. response = client.get('/hello')
  7. assert response.data == b'Hello, World!'