from flask import url_for
from flask_testing import TestCase

from application import app

class TestBase(TestCase):
    def create_app(self):
        return app

class TestResponse(TestBase):
    def test_goalie(self):
        directions = [b"Left", b"Middle", b"Right"]
        response = self.client.get(url_for('goalie'))
        self.assertIn(response.data, directions)