diff options
author | Lingchaox Xin <lingchaox.xin@intel.com> | 2013-08-07 15:16:21 +0800 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2013-09-10 09:17:23 +0200 |
commit | d28c7cc11055105262a3eff80f3c3a6885dda594 (patch) | |
tree | fd4ed3ac16bc804cccf3c485719a9e0d285f914a /tests | |
parent | 68baa9a3934a22339f164499a75cf771489c9781 (diff) |
GitRepository.push: Add 'tags' option
Signed-off-by: Lingchaox Xin <lingchaox.xin@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_GitRepository.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_GitRepository.py b/tests/test_GitRepository.py index 791cf70..b12f8d4 100644 --- a/tests/test_GitRepository.py +++ b/tests/test_GitRepository.py @@ -618,6 +618,8 @@ def test_fetch(): >>> clone.push('origin', 'master', force=True) >>> clone.create_tag('tag3') >>> clone.push_tag('origin', 'tag3') + >>> clone.create_tag('tag4') + >>> clone.push('origin', 'master', tags=True) >>> clone.add_remote_repo('foo', repo_dir) >>> clone.fetch('foo') >>> clone.fetch('foo', tags=True) |