import pytest
from web_test_base import *

class TestIATIWiki(WebTestBase):
    urls_to_get = [
        "http://wiki.archive.iatistandard.org/"
    ]

    def test_locate_links(self, loaded_request):
        """
        Tests that each page contains links to the defined URLs.
        """
        result = self._get_links_from_page(loaded_request)

        assert "http://www.iatistandard.org" in result
        assert "http://www.iatiregistry.org" in result

Add tests for the IATI wiki
Add tests for the IATI wiki

This adds tests to ensure that IATI wiki is up and contains specified links
