summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLingchaox Xin <lingchaox.xin@intel.com>2013-07-05 17:09:50 +0800
committerGuido Günther <agx@sigxcpu.org>2013-09-10 09:16:23 +0200
commit68baa9a3934a22339f164499a75cf771489c9781 (patch)
treef1c948aa5e97673dcd80aeb0d40a086c09261c7b /tests
parentb9b9eeaa6b5b8d4974826f33eedb1ba5d65843de (diff)
downloadgit-buildpackage-68baa9a3934a22339f164499a75cf771489c9781.tar.gz
git-buildpackage-68baa9a3934a22339f164499a75cf771489c9781.tar.bz2
git-buildpackage-68baa9a3934a22339f164499a75cf771489c9781.zip
GitRepository.push: Add 'force' 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.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_GitRepository.py b/tests/test_GitRepository.py
index 3ea0356f..791cf70b 100644
--- a/tests/test_GitRepository.py
+++ b/tests/test_GitRepository.py
@@ -615,6 +615,7 @@ def test_fetch():
>>> clone.push()
>>> clone.push('origin')
>>> clone.push('origin', 'master')
+ >>> clone.push('origin', 'master', force=True)
>>> clone.create_tag('tag3')
>>> clone.push_tag('origin', 'tag3')
>>> clone.add_remote_repo('foo', repo_dir)