def skip_unless_lms(func):
 return skipUnless((settings.ROOT_URLCONF == 'lms.urls'), 'Test only valid in LMS')(func)

def skip_unless_lms ( func ) : return skipUnless ( ( settings . ROOT_URLCONF == 'lms.urls' ) , 'Test only valid in LMS' ) ( func )
only run the decorated test in the lms test suite .