25 if scope
in (
'SUITE',
'TESTSUITE'):
31 if inspect.ismodule(libcode):
33 scope = getattr(libcode,
'ROBOT_LIBRARY_SCOPE',
'')
34 return normalize(str(scope), ignore=
'_').upper()
64 GlobalScope.__init__(self, library)
def __init__(self, library)
def __init__(self, library)
def LibraryScope(libcode, library)
def normalize(string, ignore=(), caseless=True, spaceless=True)
Normalizes given string according to given spec.