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.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("/")