improve test coverage for dependency detection
This commit is contained in:
parent
5eff290e38
commit
e4fea84b5e
5 changed files with 213 additions and 36 deletions
|
@ -47,12 +47,12 @@ class Git(BaseProject):
|
|||
log.traceback('warn')
|
||||
except IOError: # pragma: nocover
|
||||
log.traceback('warn')
|
||||
return None
|
||||
return u('master')
|
||||
|
||||
def _project_base(self):
|
||||
if self.configFile:
|
||||
return os.path.dirname(os.path.dirname(self.configFile))
|
||||
return None
|
||||
return None # pragma: nocover
|
||||
|
||||
def _find_git_config_file(self, path):
|
||||
path = os.path.realpath(path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue