-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add grant tests and revoke templates
Signed-off-by: Far <[email protected]>
- Loading branch information
1 parent
a8cf1c1
commit cc873d4
Showing
11 changed files
with
389 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
pytests/iroha_cli_tests/common/json_isi_examples/grant_permission.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[ | ||
{ | ||
"Grant": { | ||
"Permission": { | ||
"object": {"name": "CanRegisterDomain", "payload": null}, | ||
"destination": "ed0120CE7FA46C9DCE7EA4B125E2E36BDB63EA33073E7590AC92816AE1E861B7048B03@wonderland" | ||
} | ||
} | ||
} | ||
] |
10 changes: 10 additions & 0 deletions
10
pytests/iroha_cli_tests/common/json_isi_examples/revoke_permission.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[ | ||
{ | ||
"Revoke": { | ||
"Permission": { | ||
"object": {"name": "CanRegisterDomain", "payload": null}, | ||
"destination": "ed0120CE7FA46C9DCE7EA4B125E2E36BDB63EA33073E7590AC92816AE1E861B7048B03@wonderland" | ||
} | ||
} | ||
} | ||
] |
12 changes: 7 additions & 5 deletions
12
pytests/iroha_cli_tests/common/json_isi_examples/unregister_asset.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
[{ | ||
"Unregister": { | ||
"Asset": { | ||
[ | ||
{ | ||
"Unregister": { | ||
"Asset": { | ||
"object": "rose##ed0120CE7FA46C9DCE7EA4B125E2E36BDB63EA33073E7590AC92816AE1E861B7048B03@wonderland" | ||
} | ||
} | ||
} | ||
}] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.