import pytest

import iati.core.resources

class TestResources(object):
    """A container for tests relating to resources"""

    def test_codelist_flow_type(self):
        """Check that the FlowType codelist contains content"""
        path = iati.core.resources.path_codelist('FlowType')

        content = iati.core.resources.load_as_string(path)

        assert 3200 < len(content)

    def test_schema_activity(self):
        """Check that the Activity schema contains content"""
        path = iati.core.resources.path_schema('iati-activities-schema')

        content = iati.core.resources.load_as_string(path)

        assert 130000 < len(content)

import pytest

import iati.core.resources

class TestResources(object):
    """A container for tests relating to resources"""

    def test_codelist_flow_type(self):
        """Check that the FlowType codelist contains content"""
        path = iati.core.resources.path_codelist('FlowType')

        content = iati.core.resources.load_as_string(path)

        assert 100 < len(content)

    def test_schema_activity(self):
        """Check that the Activity schema contains content"""
        path = iati.core.resources.path_schema('iati-activities-schema')

        content = iati.core.resources.load_as_string(path)

        assert 100 < len(content)

--- 
+++ 
@@ -11,7 +11,7 @@
 
         content = iati.core.resources.load_as_string(path)
 
-        assert 100 < len(content)
+        assert 3200 < len(content)
 
     def test_schema_activity(self):
         """Check that the Activity schema contains content"""
@@ -19,4 +19,4 @@
 
         content = iati.core.resources.load_as_string(path)
 
-        assert 100 < len(content)
+        assert 130000 < len(content)
Increase resource size check limits

This brings the limits to the greatest value with 2sf that is
below the actual value without becoming higher.
