Whoops testing remnant

Paul Brian
07540 456 115
paul@mikadosoftware.com
Guiding you towards Continuous Delivery of software and business value.

On 18 Mar 2013, at 19:00, Philip Schatz <notifications@github.com> wrote:

In rhaptos2/repo/cnxbase.py:

> +    def is_action_auth(self, action=None,
> +                       requesting_user_uri=None):
> +        """ Given a user and a action type, determine if it is
> +            authorised on this object
> +
> +        #unittest not available as setup is large.
> +        >> C = CNXBase()
> +        >> C.is_action_auth(action="PUT", requesting_user_uri="Fake1")
> +        *** [u'Fake1']
> +        True
> +        >> C.is_action_auth(action="PUT", requesting_user_uri="ff")
> +        *** [u'Fake1']
> +        False
> +
> +        """
> +        print "*****AUTH"

Why print instead of logging?

—
Reply to this email directly or view it on
GitHub<https://github.com/Connexions/rhaptos2.repo/pull/91/files#r3418401>
.

-- 


www.mikadosoftware.com

See your software improve with every change.