import pytest
from web_test_base import *

class TestGoogleGroup(WebTestBase):
    urls_to_get = [
        "https://groups.google.com/forum/#!forum/iati-technical"
    ]

    def test_locate_links(self, loaded_request):
        """
        Tests that a page contains links to the defined URLs.
        This test would ideally check to see whether there is a link to:
            http://discuss.iatistandard.org
        Google Groups, however, is loaded primarily with javascript.
        As such, the link does not exist upon a simple load of the page.
        This functionality could be added later with aSelenium test.
        """
        pass

Add a test for the IATI Google Group
Add a test for the IATI Google Group

This tests the 200 response.
It would ideally be checked that there is a link to IATI Discuss.
This is not done because of the way the page loads.
This functionality could be added later with Selenium.
