Skip to content

Commit

Permalink
Test coverage for registry rename
Browse files Browse the repository at this point in the history
Signed-off-by: pfeairheller <[email protected]>
  • Loading branch information
pfeairheller committed Mar 10, 2024
1 parent dc3f08d commit bcc715d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/app/test_credentialing.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ def test_registries():
expect(mock_client, times=1).get(f"/identifiers/{name}/registries/{regName}").thenReturn(mock_response)
registries.get(name="aid1", registryName=regName)

(expect(mock_client, times=1).put(path=f"/identifiers/{name}/registries/{regName}", json={'name': 'test'})
.thenReturn(mock_response))
registries.rename(mock_hab, regName, "test")

pre = "ELI7pg979AdhmvrjDeam2eAO2SR5niCgnjAJXJHtJose"
dig = "EOgQvKz8ziRn7FdR_ebwK9BkaVOnGeXQOJ87N6hMLrK0"
nonce = "ACb_3pGwW3uIjtOg4zRQ66I-SggMcmoyju_uCzuSvgG4"
Expand Down

0 comments on commit bcc715d

Please sign in to comment.