'Sending two mirrored huddles in the row return the same ID'

def test_duplicated_mirrored_huddle(self):

    msg = {'type': 'private', 'sender': self.mit_email('sipbtest'), 'content': 'Test    message', 'client': 'zephyr_mirror', 'to': ujson.dumps([self.mit_email('espuser'), self.mit_email('starnine')])}
    with mock.patch('DNS.dnslookup', return_value=[['starnine:*:84233:101:Athena    Consulting    Exchange    User,,,:/mit/starnine:/bin/bash']]):
        self.login(self.mit_email('starnine'))
        result1 = self.client_post('/json/messages', msg)
    with mock.patch('DNS.dnslookup', return_value=[['espuser:*:95494:101:Esp    Classroom,,,:/mit/espuser:/bin/athena/bash']]):
        self.login(self.mit_email('espuser'))
        result2 = self.client_post('/json/messages', msg)
    self.assertEqual(ujson.loads(result1.content)['id'], ujson.loads(result2.content)['id'])
