1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
+ env/bin/py.test remarkbox/
============================= test session starts ==============================
platform linux2 -- Python 2.7.17, pytest-4.6.9, py-1.8.1, pluggy-0.13.1
rootdir: /home/jenkins/workspace/remarkbox
collected 55 items

remarkbox/test_models.py .....................................           [ 67%]
remarkbox/test_render.py ......                                          [ 78%]
remarkbox/test_views.py EEEEEEEEEEEE                                     [100%]

==================================== ERRORS ====================================
___ ERROR at setup of UnauthenticatedFunctionalTests.test_billing_redirects ____

cls = <class 'remarkbox.test_views.UnauthenticatedFunctionalTests'>

    @classmethod
    def setUpClass(cls):
        from remarkbox import main
    
>       cls.settings = get_appsettings("test.ini")

remarkbox/test_views.py:35: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
env/lib/python2.7/site-packages/pyramid-1.10.4-py2.7.egg/pyramid/paster.py:46: in get_appsettings
    loader = get_config_loader(config_uri)
env/lib/python2.7/site-packages/pyramid-1.10.4-py2.7.egg/pyramid/scripts/common.py:23: in get_config_loader
    return plaster.get_loader(config_uri, protocols=['wsgi'])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

config_uri = PlasterURL('file+ini://test.ini'), protocols = ['wsgi']

    def get_loader(config_uri, protocols=None):
        """
        Find a :class:`plaster.ILoader` object capable of handling ``config_uri``.
    
        :param config_uri: Anything that can be parsed by
            :func:`plaster.parse_uri`.
    
        :param protocols: Zero or more :term:`loader protocol` identifiers that
            the loader must implement to match the desired ``config_uri``.
    
        :returns: A :class:`plaster.ILoader` object.
        :raises plaster.LoaderNotFound: If no loader could be found.
        :raises plaster.MultipleLoadersFound: If multiple loaders match the
            requested criteria. If this happens, you can disambiguate the lookup
            by appending the package name to the scheme for the loader you wish
            to use. For example if ``ini`` is ambiguous then specify
            ``ini+myapp`` to use the ini loader from the ``myapp`` package.
    
        """
        config_uri = parse_uri(config_uri)
        requested_scheme = config_uri.scheme
    
        matched_loaders = find_loaders(requested_scheme, protocols=protocols)
    
        if len(matched_loaders) < 1:
>           raise LoaderNotFound(requested_scheme, protocols=protocols)
E           LoaderNotFound: Could not find a matching loader for the scheme "file+ini", protocol "wsgi".

env/lib/python2.7/site-packages/plaster-1.0-py2.7.egg/plaster/loaders.py:109: LoaderNotFound