tests package

Module contents

Run tests and document results.

tests.test_flask_app(page_location, page_title)

Tests that Flask App is running as expected.

Uses Selenium Webdriver to check Flask App is running as expected.

Parameters:
  • URL (string) – the address where the Flask App is running.
  • page_title (string) – the title of the webpage, as it should be defined by <title> tags.