'Test tracked_branch().'

def test_tracked_branch(self):

    self.assertEqual(gitcmds.tracked_branch(config=self.config), None)
    self.git(u'config', u'branch.master.remote', u'test')
    self.git(u'config', u'branch.master.merge', u'refs/heads/master')
    self.config.reset()
    self.assertEqual(gitcmds.tracked_branch(config=self.config), u'test/master')
