def test_git(self): """ L{getRepositoryCommand} from a Git repository returns L{GitCommand}. """ _gitInit(self.repos) cmd = getRepositoryCommand(self.repos) self.assertIs(cmd, GitCommand)