Skip to content

Commit be8ba7b

Browse files
committed
refactor: rename plugins to lowercase to adhere to naming conventions
1 parent 975c1ba commit be8ba7b

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎utest/test/api/approved_files/PluginDocumentation.test_many_plugins.approved.txt‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -528,18 +528,18 @@ Example project for translation can be found from
528528
[https://github.com/MarketSquare/robotframework-seleniumlibrary-translation-fi | robotframework-seleniumlibrary-translation-fi]
529529
repository.
530530

531-
= Plugin: MyLib =
531+
= Plugin: my_lib =
532532

533533
Some dummy documentation.
534534

535-
= MyLib Heading 1 =
535+
= my_lib Heading 1 =
536536

537537
This is heading 1 documentation.
538538

539-
== MyLib Heading 2 ==
539+
== my_lib Heading 2 ==
540540

541541
This is heading 2 documentation.
542542

543-
= Plugin: MyLibArgs =
543+
= Plugin: my_lib_args =
544544

545545
No plugin documentation found.

‎utest/test/api/test_plugin_keyword_tags.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
from SeleniumLibrary import SeleniumLibrary
55

6-
from .my_lib import MyLib
7-
from .my_lib_args import MyLibArgs
6+
from .my_lib import my_lib
7+
from .my_lib_args import my_lib_args
88

99

1010
class PluginKeywordTags(unittest.TestCase):
@@ -21,12 +21,12 @@ def test_no_plugin(self):
2121

2222
def test_store_plugin_keywords(self):
2323
sl = SeleniumLibrary()
24-
sl._store_plugin_keywords(MyLib("0"))
24+
sl._store_plugin_keywords(my_lib("0"))
2525
assert sl._plugin_keywords == ["bar", "foo"]
2626

2727
def test_store_plugin_keywords_with_args(self):
2828
sl = SeleniumLibrary()
29-
sl._store_plugin_keywords(MyLibArgs("000", "111", "222"))
29+
sl._store_plugin_keywords(my_lib_args("000", "111", "222"))
3030
assert sl._plugin_keywords == ["add_cookie", "bar_2", "foo_1"]
3131

3232
def test_tags_in_plugin(self):

0 commit comments

Comments
 (0)