generated from datalad/datalad-extension-template
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This provides two fixtures - `datalad_interactive_ui` - `datalad_noninteractive_ui` that can be used to test user interaction or communication sequences. Unlike the datalad-core test UI, this is not only provisioning user input. In addition, it allows for inspecting a detailed UI call log, and offers a text-rendering to easy debugging: ``` (Pdb) print(iu) InteractiveTestUI( question: (('attr1',), {'title': 'dummyquestion'}) response: attr1 question: (('attr2',), {'title': None}) response: attr2 question: (('secret',), {'title': None, 'repeat': True, 'hidden': True}) response: secret (unused responses: []) ) ``` Closes #423
- Loading branch information
Showing
6 changed files
with
197 additions
and
53 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
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
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.