Skip to content

Commit

Permalink
FIX: Partial fix for the failing cron job
Browse files Browse the repository at this point in the history
	modified:   envisage/ui/action/tests/test_action_manager_builder.py
  • Loading branch information
Poruri Sai Rahul committed May 20, 2022
1 parent 6e5c7ba commit 92d827e
Showing 1 changed file with 47 additions and 5 deletions.
52 changes: 47 additions & 5 deletions envisage/ui/action/tests/test_action_manager_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,14 @@ def test_actions_and_menus_in_groups(self):
Menu(
name="&File",
path="MenuBar",
groups=["NewGroup", "ExitGroup"],
groups=[
Group(
id="NewGroup",
path="MenuBar/File",
before="ExitGroup",
),
Group(id="ExitGroup", path="MenuBar/File"),
],
),
Menu(name="&Edit", path="MenuBar"),
Menu(name="&Tools", path="MenuBar"),
Expand Down Expand Up @@ -574,13 +581,30 @@ def test_duplicate_menu(self):
Menu(
name="&File",
path="MenuBar",
groups=["NewGroup", "ExitGroup"],
groups=[
Group(
id="NewGroup",
path="MenuBar/File",
before="ExitGroup",
),
Group(id="ExitGroup", path="MenuBar/File"),
],
),
],
),
ActionSet(
menus=[
Menu(name="&File", path="MenuBar", groups=["ExtraGroup"]),
Menu(
name="&File",
path="MenuBar",
groups=[
Group(
id="ExtraGroup",
path="MenuBar/File",
before="ExitGroup",
),
],
),
],
),
]
Expand Down Expand Up @@ -619,13 +643,31 @@ def test_duplicate_group(self):
Menu(
name="&File",
path="MenuBar",
groups=["NewGroup", "ExitGroup"],
groups=[
Group(
id="NewGroup",
path="MenuBar/File",
before="ExitGroup",
),
Group(id="ExitGroup", path="MenuBar/File"),
],

),
],
),
ActionSet(
menus=[
Menu(name="&File", path="MenuBar", groups=["NewGroup"]),
Menu(
name="&File",
path="MenuBar",
groups=[
Group(
id="NewGroup",
path="MenuBar/File",
before="ExitGroup",
),
],
),
],
),
]
Expand Down

0 comments on commit 92d827e

Please sign in to comment.