summaryrefslogtreecommitdiff
path: root/test/git/test_remote.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-10-27 11:58:20 +0100
committerSebastian Thiel <byronimo@gmail.com>2009-10-27 11:58:20 +0100
commit22757ed7b58862cccef64fdc09f93ea1ac72b1d2 (patch)
tree943038de3caac80d35b774e33cb2899b2856bbdf /test/git/test_remote.py
parent2792e534dd55fe03bca302f87a3ea638a7278bf1 (diff)
downloadgitpython-22757ed7b58862cccef64fdc09f93ea1ac72b1d2.tar.gz
put _make_file helper method into TestBase class
remote: prepared FetchInfo class to be returned by fetch and pull. About to implement tests
Diffstat (limited to 'test/git/test_remote.py')
-rw-r--r--test/git/test_remote.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/test/git/test_remote.py b/test/git/test_remote.py
index ef00056d..f1e25ebf 100644
--- a/test/git/test_remote.py
+++ b/test/git/test_remote.py
@@ -59,11 +59,18 @@ class TestRemote(TestBase):
assert remote.rename(prev_name).name == prev_name
# END for each rename ( back to prev_name )
- remote.fetch()
+ # FETCH TESTING
+ assert len(remote.fetch()) == 1
+
+
+ self.fail("rejected parsing")
+ self.fail("test parsing of each individual flag")
+ # PULL TESTING
+ # fails as we did not specify a branch and there is no configuration for it
self.failUnlessRaises(GitCommandError, remote.pull)
remote.pull('master')
remote.update()
- self.fail("test push once there is a test-repo")
+
# END for each remote
assert num_remotes
assert num_remotes == len(remote_set)