def skip_unless_cms(func):
 return skipUnless((settings.ROOT_URLCONF == 'cms.urls'), 'Test only valid in CMS')(func)

def skip_unless_cms ( func ) : return skipUnless ( ( settings . ROOT_URLCONF == 'cms.urls' ) , 'Test only valid in CMS' ) ( func )
only run the decorated test in the cms test suite .