Skip to content

Commit 8213dd2

Browse files
committed
refactor: Rename tests
1 parent b340f7a commit 8213dd2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

injector_test.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ def configure(binder: Binder) -> None:
765765
assert dictionary['b'] is not injector.get(PluginB)
766766

767767

768-
def test_multibind_list_scopes_applies_to_the_bound_items() -> None:
768+
def test_multibind_list_scopes_apply_to_the_bound_items() -> None:
769769
def configure(binder: Binder) -> None:
770770
binder.multibind(List[Plugin], to=PluginA, scope=singleton)
771771
binder.multibind(List[Plugin], to=PluginB)
@@ -781,7 +781,7 @@ def configure(binder: Binder) -> None:
781781
assert first_list[2] is second_list[2]
782782

783783

784-
def test_multibind_list_scopes_applies_to_the_bound_items_not_types() -> None:
784+
def test_multibind_list_scopes_apply_to_the_bound_items_not_types() -> None:
785785
def configure(binder: Binder) -> None:
786786
binder.multibind(List[Plugin], to=PluginA)
787787
binder.multibind(List[Plugin], to=[PluginA, PluginB], scope=singleton)
@@ -800,7 +800,7 @@ def configure(binder: Binder) -> None:
800800
assert first_list[4] is second_list[4]
801801

802802

803-
def test_multibind_dict_scopes_applies_to_the_bound_items_in_the_multibound_dict() -> None:
803+
def test_multibind_dict_scopes_apply_to_the_bound_items_in_the_multibound_dict() -> None:
804804
SingletonPlugins = Annotated[Plugin, "singleton"]
805805
OtherPlugins = Annotated[Plugin, "other"]
806806

@@ -819,7 +819,7 @@ def configure(binder: Binder) -> None:
819819
assert others_1['a'] is not others_2['a']
820820

821821

822-
def test_multibind_list_scopes_applies_to_the_bound_items_in_the_multibound_list() -> None:
822+
def test_multibind_list_scopes_apply_to_the_bound_items_in_the_multibound_list() -> None:
823823
SingletonPlugins = Annotated[Plugin, "singleton"]
824824
OtherPlugins = Annotated[Plugin, "other"]
825825

@@ -838,7 +838,7 @@ def configure(binder: Binder) -> None:
838838
assert others_1[0] is not others_2[0]
839839

840840

841-
def test_multibind_dict_scopes_applies_to_the_bound_items() -> None:
841+
def test_multibind_dict_scopes_apply_to_the_bound_items() -> None:
842842
def configure(binder: Binder) -> None:
843843
binder.multibind(Dict[str, Plugin], to={'a': PluginA}, scope=singleton)
844844
binder.multibind(Dict[str, Plugin], to={'b': PluginB})

0 commit comments

Comments
 (0)