{{ message }}
Commit c09ac1a
committed
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.1 parent 9277ff5 commit c09ac1a
1 file changed
Lines changed: 12 additions & 1 deletion

0 commit comments