Skip to content

Commit

Permalink
A bug fix for the test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
xolox committed Mar 16, 2016
1 parent 70a7ed3 commit 0a22dc1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions vcs_repo_mgr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
)

# Semi-standard module versioning.
__version__ = '0.22.1'
__version__ = '0.22.2'

USER_CONFIG_FILE = os.path.expanduser('~/.vcs-repo-mgr.ini')
"""The absolute pathname of the user-specific configuration file (a string)."""
Expand Down Expand Up @@ -502,8 +502,13 @@ def author(self):
"""
The author for commits created using :func:`commit()` (a string).
Subclasses are expected to override this property to default to the
author configured in the version control system.
This is a string of the form ``name <email>`` where both the name and
the email address are required (this is actually a slight
simplification, but I digress).
The :attr:`author` property needs to be provided by subclasses and/or
the caller (by passing it to :func:`__init__()` as a keyword
argument).
"""

@required_property
Expand Down
2 changes: 1 addition & 1 deletion vcs_repo_mgr/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ def check_commit_support(self, cloned_repo):
assert not cloned_repo.is_clean
# Commit the change we made.
cloned_repo.commit(
author="vcs-repo-mgr",
author="Peter Odding <vcs-repo-mgr@peterodding.com>",
message="This is a test",
)
# Make sure the working tree is clean again.
Expand Down

0 comments on commit 0a22dc1

Please sign in to comment.