From 366ac7437383d3e9a99a971e61afbc5c466bbfcc Mon Sep 17 00:00:00 2001 From: Dmitrii Agibov Date: Tue, 4 Oct 2022 15:18:55 +0100 Subject: MLIA-673 Use inclusive language in the source code and filenames - Update configuration for inclusive language linter - Fix reported issues Change-Id: If0f8b6e20c17d8ee1c6179c61040fc351437f036 --- tests/test_core_advice_generation.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/test_core_advice_generation.py') diff --git a/tests/test_core_advice_generation.py b/tests/test_core_advice_generation.py index f5e2960..3d985eb 100644 --- a/tests/test_core_advice_generation.py +++ b/tests/test_core_advice_generation.py @@ -47,7 +47,7 @@ def test_advice_generation() -> None: def test_advice_category_decorator( category: AdviceCategory, expected_advice: list[Advice], - dummy_context: Context, + sample_context: Context, ) -> None: """Test for advice_category decorator.""" @@ -60,10 +60,10 @@ def test_advice_category_decorator( self.add_advice(["Good advice!"]) producer = SampleAdviceProducer() - dummy_context.update( + sample_context.update( advice_category=category, event_handlers=[], config_parameters={} ) - producer.set_context(dummy_context) + producer.set_context(sample_context) producer.produce_advice("some_data") advice = producer.get_advice() -- cgit v1.2.1