Skip to content

Commit

Permalink
fix: fix name for accessibility component
Browse files Browse the repository at this point in the history
  • Loading branch information
pyoor committed Nov 15, 2021
1 parent 1fab91a commit 89ab663
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion bugmon/evaluator_configs/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ def iter_env(bug: EnhancedBug) -> Iterator[Dict[str, str]]:
"""
yield bug.env

if bug.component == "Accessibility" and "GNOME_ACCESSIBILITY" not in bug.env:
if (
bug.component == "Disability Access APIs"
and "GNOME_ACCESSIBILITY" not in bug.env
):
env_variables = copy.deepcopy(bug.env)
env_variables["GNOME_ACCESSIBILITY"] = "1"
yield env_variables
Expand Down
2 changes: 1 addition & 1 deletion tests/test_configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def test_browser_configuration_iter_tests_001():
def test_browser_configuration_env_iter_001(bug_fixture_prefetch):
"""Test BugConfiguration.env_iter() with Accessibility component"""
bug = copy.deepcopy(bug_fixture_prefetch)
bug["component"] = "Accessibility"
bug["component"] = "Disability Access APIs"
bug = EnhancedBug(None, **bug)
env_vars = list(BrowserConfiguration.iter_env(bug))

Expand Down

0 comments on commit 89ab663

Please sign in to comment.