Index: tests/checkout_test.py |
diff --git a/tests/checkout_test.py b/tests/checkout_test.py |
index cd92aec2082a73c3b0ff6c5eb6d528c2ca62f8a5..31c12755199bff8f241cddf3d269b80221b0ca69 100755 |
--- a/tests/checkout_test.py |
+++ b/tests/checkout_test.py |
@@ -205,6 +205,11 @@ class GitSvnCheckout(BaseTest): |
content = read(os.path.join(self.root_dir, 'svn_utils_test.txt')) |
self.assertTrue(os.path.join(self.root_dir, 'svn_utils_test.txt')) |
co.apply_patch(patch.auto_mangle_git_patch(GIT_PATCH)) |
+ # Hackish to verify _branches() internal function. |
+ # pylint: disable=W0212 |
+ self.assertEquals( |
+ (['master', 'working_branch'], 'working_branch'), |
+ co.checkout._branches()) |
content_lines = content.splitlines(True) |
content_modified = ''.join(content_lines[0:5] + ['FOO!\n'] + |
content_lines[5:]) |