'Test branch_list(remote=False).'

def test_branch_list_remote(self):

    self.assertEqual(gitcmds.branch_list(remote=True), [])
    self.git(u'remote', u'add', u'origin', u'.')
    self.git(u'fetch', u'origin')
    self.assertEqual(gitcmds.branch_list(remote=True), [u'origin/master'])
    self.git(u'remote', u'rm', u'origin')
    self.assertEqual(gitcmds.branch_list(remote=True), [])
