bulkan/robotframework-requests — Issue #3: Creating an instance of the test library 'RequestsLibrary' with no arguments failed: AttributeError: 'module' object has no attribute 'settings'
Author: jollychang
Created: 2011-10-27 02:00:38+00:00
State: open

pybot testcase.txt
[ ERROR ] Invalid syntax in file '/Users/jollychang/Works/robotframework-requests/tests/testcase.txt' in table 'Settings': Creating an instance of the test library 'RequestsLibrary' with no arguments failed: AttributeError: 'module' object has no attribute 'settings'
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/robot/running/testlibraries.py", line 184, in _get_instance
return self._libcode(*self.positional_args, **self.named_args)
File "/Users/jollychang/Works/robotframework-requests/src/RequestsLibrary/keywords.py", line 20, in __init__
requests.settings.base_headers['User-Agent'] = 'robotframework-requests'

install by pip or source code is the same