'Verify that L{helper.TerminalBuffer.resetPrivateModes} changes the Set
Mode (SM) state to "reset" for the private modes it is passed.'

def test_resetPrivateModes(self):

    expected = self.term.privateModes.copy()
    self.term.resetPrivateModes([privateModes.AUTO_WRAP, privateModes.CURSOR_MODE])
    del expected[privateModes.AUTO_WRAP]
    del expected[privateModes.CURSOR_MODE]
    self.assertEqual(expected, self.term.privateModes)
