Commit 39825d86d3fb938894b2edd654592c814ac91366

Authored by selurvedu
1 parent fe57d771

Properly generate scripts of `robotframework` egg

This will generate `bin/pybot`, `bin/robot` and `bin/rebot` scripts.
`op_robot_tests/rebot.py` is not needed anymore.
@@ -14,6 +14,7 @@ recipe = zc.recipe.egg @@ -14,6 +14,7 @@ recipe = zc.recipe.egg
14 eggs = 14 eggs =
15 op_robot_tests 15 op_robot_tests
16 openprocurement_client 16 openprocurement_client
  17 + robotframework
17 robotframework-lint 18 robotframework-lint
18 robotframework-debuglibrary 19 robotframework-debuglibrary
19 robot_tests.broker.dzo 20 robot_tests.broker.dzo
1 -from robot.rebot import rebot_cli  
2 -import sys  
3 -  
4 -def rebot():  
5 - rebot_cli(sys.argv[1:])  
@@ -41,7 +41,6 @@ setup(name='op_robot_tests', @@ -41,7 +41,6 @@ setup(name='op_robot_tests',
41 'console_scripts': [ 41 'console_scripts': [
42 'openprocurement_tests = op_robot_tests.runner:runner', 42 'openprocurement_tests = op_robot_tests.runner:runner',
43 'op_tests = op_robot_tests.runner:runner', 43 'op_tests = op_robot_tests.runner:runner',
44 - 'rebot = op_robot_tests.rebot:rebot'  
45 ], 44 ],
46 } 45 }
47 ) 46 )
Please register or login to post a comment