'Test resetting the XML stream to start a new layer.'

def test_reset(self):

    xs = self.xmlstream
    xs.sendHeader()
    stream = xs.stream
    xs.reset()
    self.assertNotEqual(stream, xs.stream)
    self.assertNot(xs._headerSent)
