-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Adopt tutorial changes in test_tutorial.py
Add, remove and update function calls to match code snippets in tutorial. This commit also adds tests for outputs of `repo.status()` and `repo.dirty_roles()` functions. Note that the compare-to strings need to be constructed programatically, akin to how they are constructed in the relevant functions, in order to avoid issues with unicode prefixes in Python2/3, e.g. "Dirty roles: ['root']" vs "Dirty roles: [u'root']" Signed-off-by: Lukas Puehringer <[email protected]>
- Loading branch information
Showing
1 changed file
with
90 additions
and
72 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