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