Update test_bot.py

This commit is contained in:
SpudGunMan
2025-10-24 17:46:15 -07:00
parent 47089871b1
commit 97f103dfd7

View File

@@ -93,11 +93,6 @@ class TestBot(unittest.TestCase):
response = send_ollama_query("Hello, Ollama!")
self.assertIsInstance(response, str)
def test_where_am_i(self):
from locationdata import where_am_i
location = where_am_i(lat, lon)
self.assertIsInstance(location, str)
def test_get_moon_phase(self):
from space import get_moon
phase = get_moon(lat, lon)
@@ -340,6 +335,11 @@ class TestBot(unittest.TestCase):
weather = get_NOAAweather(lat, lon)
self.assertIsInstance(weather, str)
def test_where_am_i(self):
from locationdata import where_am_i
location = where_am_i(lat, lon)
self.assertIsInstance(location, str)
def test_getWeatherAlertsNOAA(self):
from locationdata import getWeatherAlertsNOAA
alerts = getWeatherAlertsNOAA(lat, lon)