def test_netrc(self): hostm = GitHostDriver(self.netrc_temp_dir) assert hostm.create_git_netrc("foobar", "foo") hostm = GitHostDriver(self.netrc_temp_dir) assert os.path.exists(os.path.join(self.netrc_temp_dir, ".netrc")) assert hostm.https_enabled
def test_ssh_git(self): hostm = GitHostDriver(self.ssh_temp_dir) assert hostm.ssh_enabled == hostm._check_for_ssh()
def test_ssh_git(self): hostm = GitHostDriver(self.ssh_temp_dir) assert hostm.ssh_enabled == False