diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2015-01-20 22:13:45 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2015-01-20 22:13:45 +0100 |
commit | bb0f3d78d6980a1d43f05cb17a8da57a196a34f3 (patch) | |
tree | 775ad298112ea19674e1e05a5ab21669f999ace7 /git/test/test_submodule.py | |
parent | e4921139819c7949abaad6cc5679232a0fbb0632 (diff) | |
download | gitpython-bb0f3d78d6980a1d43f05cb17a8da57a196a34f3.tar.gz |
Fixed flake8 and a minor test regression.
The latter happened as now BadName is thrown, instead of BadObject.
Changes.rst was marked accordingly
Diffstat (limited to 'git/test/test_submodule.py')
-rw-r--r-- | git/test/test_submodule.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git/test/test_submodule.py b/git/test/test_submodule.py index b9502f75..6a03fe26 100644 --- a/git/test/test_submodule.py +++ b/git/test/test_submodule.py @@ -535,7 +535,7 @@ class TestSubmodule(TestBase): touch(nsm_file) nsm.module().index.add([nsm]) nsm.module().index.commit("added new file") - rm.update(recursive=False, dry_run=True, progress=prog) # would not change head, and thus doens't fail + rm.update(recursive=False, dry_run=True, progress=prog) # would not change head, and thus doens't fail # Everything we can do from now on will trigger the 'future' check, so no is_dirty() check will even run # This would only run if our local branch is in the past and we have uncommitted changes @@ -691,7 +691,7 @@ class TestSubmodule(TestBase): def assert_exists(sm, value=True): assert sm.exists() == value assert sm.module_exists() == value - # end + # end # As git is backwards compatible itself, it would still recognize what we do here ... unless we really # muss it up. That's the only reason why the test is still here ... . |