On 03/30/2015 08:58 PM, Ed Manlove wrote:
> On 03/30/2015 05:18 PM, ziffification wrote:
>> OK
>>
>> a little more progress this time I give the full path
>>
>> Library Collections
>> Library String
>> Library
>> /usr/local/lib/python2.7/dist-packages/RequestsLibrary/RequestsKeywords.py
>> Library OperatingSystem
>> Suite Teardown Delete All Sessions
>>
>> [SNIP]
>
> Concerning debugging try putting it somewhere you know it will be hit
> and start a breakpoint. Its surprising it is not working. As for the
> above issue do you need to make it
>
> @{auth}= Create List username password
> Create Digest Session TerraceQ
https://172.168.101.139
> auth=${auth}
>
> Just a thought...
>
> Ed
>
I am also still cautious on how you are importing the library. By giving
a direct path to the RequestLibrary.py file. Note here I am saying the
python file and not the folder it is in which also includes the pythin
initialization file, __init__.py. The initialization file in turn is not
an empty one but sets the library variable ROBOT_LIBRARY_SCOPE. So by
importing the RequestLibrary.py file and not the RequestLibrary library
I think you might be missing something. Have you tried
Library RequestsLibrary
as it should be on the path.
Ed