mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Fix the tests so they don't rely on external URL
This commit is contained in:
parent
f5c4b6919d
commit
909c74c9b6
3 changed files with 7 additions and 14 deletions
|
@ -18,7 +18,7 @@ class FirmwareUpdateCheckerLookup:
|
|||
self._machine_id = machine_json.get("id")
|
||||
self._machine_name = machine_name.lower() # Lower in-case upper-case chars are added to the original json.
|
||||
self._check_urls = [] # type:List[str]
|
||||
for check_url in machine_json.get("check_urls"):
|
||||
for check_url in machine_json.get("check_urls", []):
|
||||
self._check_urls.append(check_url)
|
||||
self._redirect_user = machine_json.get("update_url")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue