bob_download.py: bob changed the name of a link
authorgregor herrmann <gregor@toastfreeware.priv.at>
Wed, 25 Nov 2020 19:33:20 +0000 (20:33 +0100)
committergregor herrmann <gregor@toastfreeware.priv.at>
Wed, 25 Nov 2020 19:33:20 +0000 (20:33 +0100)
so update our assertion as well

bob_download.py

index 0f5f4efc5571666fd4f042a15c310297d224a009..ca4103cf0a16e6c2e4740c5df9b635b664eb3302 100755 (executable)
@@ -52,7 +52,7 @@ def main(username, password, destdir):
     assert response.ok
     assert 'invalid KKW response' not in response.text
     html = BeautifulSoup(response.text, 'html.parser')
-    assert html.find('a', title="logout") is not None
+    assert html.find('a', title="Ausloggen") is not None
 
     # Download files
     links = html.findAll('a', class_="table-bill__link--pdf")