From a68361188209702919b16d4391ad4e0de14215c6 Mon Sep 17 00:00:00 2001 From: Archmonger <16909269+Archmonger@users.noreply.github.com> Date: Wed, 2 Oct 2024 15:07:16 -0700 Subject: [PATCH] fix typos --- tests/test_string_utils.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/test_string_utils.py b/tests/test_string_utils.py index 80cb5f2..c5ee209 100644 --- a/tests/test_string_utils.py +++ b/tests/test_string_utils.py @@ -3,25 +3,25 @@ from servestatic.utils import ensure_leading_trailing_slash -def test_none(self): +def test_none(): assert ensure_leading_trailing_slash(None) == "/" -def test_empty(self): +def test_empty(): assert ensure_leading_trailing_slash("") == "/" -def test_slash(self): +def test_slash(): assert ensure_leading_trailing_slash("/") == "/" -def test_contents(self): +def test_contents(): assert ensure_leading_trailing_slash("/foo/") == "/foo/" -def test_leading(self): - assert ensure_leading_trailing_slash("/foo") == "/foo" +def test_leading(): + assert ensure_leading_trailing_slash("/foo") == "/foo/" -def test_trailing(self): - assert ensure_leading_trailing_slash("foo/") == "/foo" +def test_trailing(): + assert ensure_leading_trailing_slash("foo/") == "/foo/"