If it's a close friend you should expect to disagree sometimes, especially about politics. If, on the other hand, your friend has attacked YOU rather than your opinions it's a sure sign that you just won the argument, s/he has no answer to the devastating point you just made, and is subconsciously trying to get you off track.
Good friends -- even spouses -- don't have to agree on everything.