Update code om Python 3.11 te ondersteunen #22

Merged
mark merged 5 commits from python311 into master 2022-12-28 17:57:26 +01:00
Showing only changes of commit 1adc2096a0 - Show all commits
+1 -1
View File
@@ -39,7 +39,7 @@ class TestShitpost(unittest.TestCase):
def test_watspelenwe_cal(self):
data = requests.get(os.getenv('STROOP_CALDAV_CAL'))
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()
with self.subTest(msg="Watspelenwe activiteit does not return a string"):