diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-10-28 18:40:25 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-10-28 18:40:25 +0200 |
commit | 1fd6ddad71a2f95f254172dbdd176f06da15d9cb (patch) | |
tree | f8022098917d3ffde48433d45380acb008e5391a /tests | |
parent | 1a590241a7b95f13784d735a2e6d34bde83ed31c (diff) | |
download | git-buildpackage-1fd6ddad71a2f95f254172dbdd176f06da15d9cb.tar.gz git-buildpackage-1fd6ddad71a2f95f254172dbdd176f06da15d9cb.tar.bz2 git-buildpackage-1fd6ddad71a2f95f254172dbdd176f06da15d9cb.zip |
GitRepository: rename base_dir to git_dir
since that's where it points to.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_GitRepository.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_GitRepository.py b/tests/test_GitRepository.py index 404eb3a3..1aa98a19 100644 --- a/tests/test_GitRepository.py +++ b/tests/test_GitRepository.py @@ -24,13 +24,13 @@ def test_create(): Propeties tested: - L{gbp.git.GitRepository.path} - - L{gbp.git.GitRepository.base_dir} + - L{gbp.git.GitRepository.git_dir} >>> import os, gbp.git >>> repo = gbp.git.GitRepository.create(repo_dir) >>> repo.path == repo_dir True - >>> repo.base_dir == os.path.join(repo_dir, '.git') + >>> repo.git_dir == os.path.join(repo_dir, '.git') True >>> type(repo) == gbp.git.GitRepository True @@ -331,7 +331,7 @@ def test_create_bare(): >>> bare = gbp.git.GitRepository.create(bare_dir, bare=True, description="msg") >>> bare.path == bare_dir True - >>> bare.base_dir[:-1] == bare_dir + >>> bare.git_dir[:-1] == bare_dir True >>> type(bare) == gbp.git.GitRepository True |