Add docstrings to tests
This commit is contained in:
@ -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("/")
|
||||
|
Reference in New Issue
Block a user