Skip to content

Instantly share code, notes, and snippets.

@edbrannin
Last active October 21, 2016 14:55
Show Gist options
  • Save edbrannin/f4f5d1b01e67b93b8ef19622f2a27a60 to your computer and use it in GitHub Desktop.
Save edbrannin/f4f5d1b01e67b93b8ef19622f2a27a60 to your computer and use it in GitHub Desktop.
from robot.libraries.BuiltIn import BuiltIn, register_run_keyword
def my_keyword(thing):
BuiltIn().run_keyword("Log", thing)
# Uncommenting this also resolves the issue.
# register_run_keyword(__name__, my_keyword)
* Settings *
Library lib.py
* Test Cases *
Should Gracefully Pickle Regex Pattern
${Pattern}= Evaluate re.compile('w4rsdg') re
My Keyword ${Pattern}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment