You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the following code, I'm facing some difficulty. Calling the Add Provider keyword requires two arguments, instead of the expected 1: name of the module. This seems to me to be correct.
Assuming it might be the FakerLibrary I retrieved it's library instance and provided it to the keyword. Sadly this doesn't provide me with the desired end result but instead generates the error: "FAIL : TypeError: set_formatter() takes exactly 3 arguments (2 given)".
The Robot Script for this example.
*** Settings ***
Library FakerLibrary
*** Test Cases ***
Faker Custom Provider Generate Data
${fakerLib} Get Library Instance FakerLibrary
Add Provider ${fakerLib} OceanProvider
When I run the following code, I'm facing some difficulty. Calling the
Add Provider
keyword requires two arguments, instead of the expected 1: name of the module. This seems to me to be correct.Assuming it might be the FakerLibrary I retrieved it's library instance and provided it to the keyword. Sadly this doesn't provide me with the desired end result but instead generates the error: "
FAIL : TypeError: set_formatter() takes exactly 3 arguments (2 given)
".The Robot Script for this example.
The custom provider Python code:
The text was updated successfully, but these errors were encountered: