Skip to content

Commit

Permalink
Adding more explanations to the license parameter. (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
apetenchea authored Oct 17, 2024
1 parent 630c41a commit 8e6aaca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 8e6aaca

Please sign in to comment.