forked from Rockachopa/Timmy-time-dashboard
15 lines
450 B
Python
15 lines
450 B
Python
"""Tests for the welcome message module."""
|
|
|
|
from timmy.welcome import WELCOME_MESSAGE
|
|
|
|
|
|
class TestWelcomeMessage:
|
|
def test_welcome_message_contains_disclaimer(self):
|
|
assert "real-time" in WELCOME_MESSAGE.lower()
|
|
|
|
def test_welcome_message_mentions_weather(self):
|
|
assert "weather" in WELCOME_MESSAGE.lower()
|
|
|
|
def test_welcome_message_contains_greeting(self):
|
|
assert "Mission Control initialized" in WELCOME_MESSAGE
|