From fec6ccec0a328c10a24134679e8c96410a911e2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Hells=C3=A9n?= Date: Tue, 19 Apr 2022 16:39:07 +0200 Subject: [PATCH] Add docstrings to tests --- tests/test_discord_embed.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/test_discord_embed.py b/tests/test_discord_embed.py index 8eadeee..18adc93 100644 --- a/tests/test_discord_embed.py +++ b/tests/test_discord_embed.py @@ -1,10 +1,11 @@ -from discord_embed import __version__ -from discord_embed.settings import Settings +from discord_embed import __version__, settings def test_version(): + """Test that version is correct.""" assert __version__ == "0.1.0" def test_domain_ends_with_slash(): - assert not Settings.domain.endswith("/") + """Test that domain ends with slash.""" + assert not settings.domain.endswith("/")