Add docstrings to tests

This commit is contained in:
2022-04-19 16:39:07 +02:00
parent b40895e691
commit fec6ccec0a

View File

@ -1,10 +1,11 @@
from discord_embed import __version__ from discord_embed import __version__, settings
from discord_embed.settings import Settings
def test_version(): def test_version():
"""Test that version is correct."""
assert __version__ == "0.1.0" assert __version__ == "0.1.0"
def test_domain_ends_with_slash(): def test_domain_ends_with_slash():
assert not Settings.domain.endswith("/") """Test that domain ends with slash."""
assert not settings.domain.endswith("/")