Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion arango/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ def set_license(self, license: str, force: bool = False) -> Result[Json]:
instance. Can be called on single servers, Coordinators,
and DB-Servers.

:param license: The Base64-encoded license string.
:param license: The Base64-encoded license string, wrapped in double-quotes.
:type license: str
:param force: If set to True, the new license will be set even if
it expires sooner than the current license.
Expand Down
2 changes: 1 addition & 1 deletion tests/test_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ def test_license(sys_db, enterprise):
else:
assert license == {"license": "none"}
with pytest.raises(ServerLicenseSetError):
sys_db.set_license("abc")
sys_db.set_license('"abc"')


def test_options(sys_db, db_version):
Expand Down
Loading