NBC: A swing-state mayoral race is about to test what’s next for Democrats