Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test_compare: add config_tmpdir fixture to block
ignore-branches
Isolate test_compare() from the environment's west config. This makes the test pass again when the user sets `west config --global ignore-branches True`. It was failing like this: ``` # By default, a checked-out branch should print output, even if # the tree is otherwise clean... check_output(['git', 'checkout', '-b', 'mybranch'], cwd=kconfiglib) actual = cmd('compare') > assert actual.startswith('=== Kconfiglib (subdir/Kconfiglib):') E AssertionError: assert False ``` Signed-off-by: Marc Herbert <marc.herbert@intel.com>
- Loading branch information