Update code om Python 3.11 te ondersteunen #22
+1
-1
@@ -39,7 +39,7 @@ class TestShitpost(unittest.TestCase):
|
|||||||
def test_watspelenwe_cal(self):
|
def test_watspelenwe_cal(self):
|
||||||
data = requests.get(os.getenv('STROOP_CALDAV_CAL'))
|
data = requests.get(os.getenv('STROOP_CALDAV_CAL'))
|
||||||
if not data:
|
if not data:
|
||||||
self.skipTest(f"Server at {self.cog.muzak_url} has an error, or is unavailable")
|
self.skipTest(f"Server at {os.getenv('STROOP_CALDAV_HOST')} has an error, or is unavailable")
|
||||||
|
|
||||||
(activiteit, reden) = self.cog.get_watspelenwe_cal()
|
(activiteit, reden) = self.cog.get_watspelenwe_cal()
|
||||||
with self.subTest(msg="Watspelenwe activiteit does not return a string"):
|
with self.subTest(msg="Watspelenwe activiteit does not return a string"):
|
||||||
|
|||||||
Reference in New Issue
Block a user