Adjust unit test checking to make way for additional tests to be added
to the same class while ensuring can verify the resulting tree while
different commit messages may be recorded.
Ensure separate parser is created for each test to prevent ensure the
'search_refs' option is isolated per test scenario as otherwise each
scenario will append entries as it is set on the class.
These lay the ground work to adding tests to check that git-upstream
can work with SHA1 and tags as inputs in addition to branches.
Reviewed: https:/ /review. openstack. org/377913 /git.openstack. org/cgit/ openstack/ git-upstream/ commit/ ?id=79b31d95d18 f9be5806c94f878 23588014a7cdf3
Committed: https:/
Submitter: Jenkins
Branch: master
commit 79b31d95d18f9be 5806c94f8782358 8014a7cdf3
Author: Darragh Bailey <email address hidden>
Date: Tue Sep 27 16:35:24 2016 +0100
Refactor test to allow additional
Adjust unit test checking to make way for additional tests to be added
to the same class while ensuring can verify the resulting tree while
different commit messages may be recorded.
Ensure separate parser is created for each test to prevent ensure the
'search_refs' option is isolated per test scenario as otherwise each
scenario will append entries as it is set on the class.
These lay the ground work to adding tests to check that git-upstream
can work with SHA1 and tags as inputs in addition to branches.
Change-Id: I46a27281f3f0c0 1848a388ad05302 599f4eff1c9
Related-Bug: #1547180