Skip to content

Commit

Permalink
Fixed typos in conftest and tuf/interfaces
Browse files Browse the repository at this point in the history
Fixed typos in conftest and tuf/interfaces.

Signed-off-by: Kairo de Araujo <kdearaujo@vmware.com>
  • Loading branch information
Kairo de Araujo committed Sep 30, 2022
1 parent f420476 commit bed6362
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def app_config(database):
"warehouse.malware.services.PrinterMalwareCheckService"
),
"files.url": "http://localhost:7000/",
"tuf.url": "http://licalhost:7000/metadata/",
"tuf.url": "http://localhost:7000/metadata/",
"sessions.secret": "123456",
"sessions.url": "redis://localhost:0/",
"statuspage.url": "https://2p66nmmycsj3.statuspage.io",
Expand Down
4 changes: 2 additions & 2 deletions warehouse/tuf/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def add_hashed_targets(targets):
Args:
targets: list of dictionary with file ``info`` and ``path``.
``info`` contains a dict with ``lenght``, ``hashes`` optionally
``info`` contains a dict with ``length``, ``hashes`` optionally
``custom`` nested dictionary.
``path`` file path
Expand All @@ -96,7 +96,7 @@ def add_hashed_targets(targets):
{
"info": {
"hashes": {"blake2b-256": file.blake2_256_digest},
"lenght": 256,
"length": 256,
"custom": {"key": "value},
},
"path": "/xx/yy/file.tar.gz"
Expand Down

0 comments on commit bed6362

Please sign in to comment.