Skip to content

Commit 94c7b5e

Browse files
committed
Fixed file_url test
1 parent 66c7824 commit 94c7b5e

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/imio/esign/browser/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class IImioEsignSettings(Interface):
5757

5858
file_url = schema.URI(
5959
title=_("File URL download domain"),
60-
description=_("URL domain where the file can be donwloaded."),
60+
description=_("URL domain where the file can be downloaded."),
6161
required=False,
6262
default="https://documents.imio-egov.be/esign",
6363
)

src/imio/esign/tests/test_utils.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -505,10 +505,6 @@ def test_get_session_info(self):
505505
def test_get_file_download_url(self):
506506
"""Test generating file download URL from UID."""
507507
uid = "f40682caafc045b4b81973bd82ea9ab6"
508-
# Test error when no root_url is configured
509-
with self.assertRaises(Exception) as cm:
510-
get_file_download_url(uid)
511-
self.assertIn("No root URL provided", str(cm.exception))
512508

513509
api.portal.set_registry_record("imio.esign.file_url", "https://downloads.files.com")
514510

0 commit comments

Comments
 (0)