diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-11-21 23:11:27 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-11-21 23:23:18 +0100 |
commit | 2faf600a695a8822e8c00a04b946b78dc4bafcba (patch) | |
tree | 3dc7e8604ac8480c0a2f2b49f028bd8942bc42a0 /tests | |
parent | 644c679a1fdd3c6d96ca5a6bb2ced81e4e9d6f26 (diff) |
Use GitArgs in GitRepository.{create,delete}_branch()
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_GitRepository.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/test_GitRepository.py b/tests/test_GitRepository.py index 235c758d..6bf40ee8 100644 --- a/tests/test_GitRepository.py +++ b/tests/test_GitRepository.py @@ -116,6 +116,20 @@ def test_create_branch(): >>> repo.create_branch("foo") """ +def test_delete_branch(): + """ + Create a branch named I{foo2} and delete it + + Methods tested: + - L{gbp.git.GitRepository.create_branch} + - L{gbp.git.GitRepository.delete_branch} + + >>> import gbp.git, shutil + >>> repo = gbp.git.GitRepository(repo_dir) + >>> repo.create_branch("bar") + >>> repo.delete_branch("bar") + """ + def test_set_branch(): """ |