Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test InvalidGitRepositoryError in repo subdir
A Repo object can of course be constructed from a path to a directory that is the root of an existing repository, and raises InvalidGitRepositoryError on a directory that is outside of any repository. Tests intended to show both conditions already exist. This adds a test to verify that InvalidGitRepositoryError is also raised when an attempt is made to construct a Repo object from a path to a directory that is not the root of a repository but that is known to be located inside an existing git repository.
- Loading branch information