diff mbox series

[libgpiod,14/22] bindings: python: tests: fix duplicate test name

Message ID 20240927-vfazio-mypy-v1-14-91a7c2e20884@xes-inc.com
State New
Headers show
Series bindings: python: conform to mypy and ruff linter recommendations | expand

Commit Message

Vincent Fazio Sept. 27, 2024, 6:53 p.m. UTC
Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
---
 bindings/python/tests/tests_edge_event.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bartosz Golaszewski Oct. 8, 2024, 1:25 p.m. UTC | #1
On Fri, Sep 27, 2024 at 8:57 PM Vincent Fazio <vfazio@xes-inc.com> wrote:
>
> Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
> ---
>  bindings/python/tests/tests_edge_event.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/bindings/python/tests/tests_edge_event.py b/bindings/python/tests/tests_edge_event.py
> index 17b27026356be60b6e928cff04917f487947824c..68ab17eae7be301cbca8d6d83f90a03df0aeea53 100644
> --- a/bindings/python/tests/tests_edge_event.py
> +++ b/bindings/python/tests/tests_edge_event.py
> @@ -118,7 +118,7 @@ class WaitingForEdgeEvents(TestCase):
>
>              self.assertFalse(req.wait_edge_events(timedelta(microseconds=10000)))
>
> -    def test_rising_edge_event(self):
> +    def test_falling_edge_event(self):
>          with gpiod.request_lines(
>              self.sim.dev_path, {6: gpiod.LineSettings(edge_detection=Edge.FALLING)}
>          ) as req:
>
> --
> 2.34.1
>

+commit message and LGTM

Bart
diff mbox series

Patch

diff --git a/bindings/python/tests/tests_edge_event.py b/bindings/python/tests/tests_edge_event.py
index 17b27026356be60b6e928cff04917f487947824c..68ab17eae7be301cbca8d6d83f90a03df0aeea53 100644
--- a/bindings/python/tests/tests_edge_event.py
+++ b/bindings/python/tests/tests_edge_event.py
@@ -118,7 +118,7 @@  class WaitingForEdgeEvents(TestCase):
 
             self.assertFalse(req.wait_edge_events(timedelta(microseconds=10000)))
 
-    def test_rising_edge_event(self):
+    def test_falling_edge_event(self):
         with gpiod.request_lines(
             self.sim.dev_path, {6: gpiod.LineSettings(edge_detection=Edge.FALLING)}
         ) as req: