def test_invalid_url(self, loghub): current = Current() with pytest.raises(SystemExit): current.configure_fromurl(loghub, "http://heise.de:1802:31/qwe")