diff --git a/scripts-dev/check_auth.py b/scripts-dev/check_auth.py index b889ac7fa79c13734afae04a93209f94c1b2a6f1..4fa8792a5fe1b0eb670c4855ecfb4bd79bc80ac6 100644 --- a/scripts-dev/check_auth.py +++ b/scripts-dev/check_auth.py @@ -56,10 +56,9 @@ if __name__ == '__main__': js = json.load(args.json) - auth = Auth(Mock()) check_auth( auth, [FrozenEvent(d) for d in js["auth_chain"]], - [FrozenEvent(d) for d in js["pdus"]], + [FrozenEvent(d) for d in js.get("pdus", [])], )