Comment #8 on issue 589 by c.martin.taylor: ROBOT_LIBRARY_SCOPE = "GLOBAL"
is ignored in RF 2.5
http://code.google.com/p/robotframework/issues/detail?id=589
I took Peke's DynamicGlobalLibrary.py and adapted it, making a totally
generic way of reproducing this bug. See the attached zip file. You must
install the DynamicGlobalLibrary before running the tests. This test suite
can reproduce the issue but it seems to be somewhat inconsistent. I
haven't been able to pin down the exact set of circumstances but I believe
that this issue is related to whether or not you've done a CLEAN install of
RF 2.5 or whether you've upgraded from RF 2.1.3 to RF 2.5. When you do
such an upgrade using "python setup.py install" from the source code,
Python's distutils doesn't delete any old .py or .pyc files and doesn't
automatically compile all the .py into .pyc files. I think that this can
result in an incompatible mixture of new and old .pyc files being run.
Attachments:
Issue598_Demo.zip 17.7 KB