"""
Tests routes that are not in a module.
"""

import flask
import http.client

from ruddock.testing.fixtures import client

def test_home(client):
  """Tests the / route."""
  response = client.get(flask.url_for('home'))
  assert response.status_code == http.client.OK

def test_contact(client):
  """Tests the /contact route."""
  response = client.get(flask.url_for('show_contact'))
  assert response.status_code == http.client.OK

"""
Tests routes that are not in a module.
"""

import flask
import http.client

from ruddock.testing.fixtures import client

def test_home(client):
  """Tests the / route."""
  response = client.get(flask.url_for('home'))
  assert response.status_code == http.client.OK

def test_contact(client):
  """Tests the /contact route."""
  response = client.get(flask.url_for('show_contact'))
  assert response.status_code == http.client.OK

Tests routes that are not in a module. Tests the / route. Tests the /contact route.