'A given deployment hashes to a specific value.'

def test_consistent_hash(self):

    TEST_DEPLOYMENT_1_HASH = ''.join((chr(x) for x in [135, 19, 203, 71, 96, 215, 171, 15, 48, 213, 210, 120, 232, 18, 93, 17]))
    TEST_DEPLOYMENT_2_HASH = ''.join((chr(x) for x in [95, 192, 43, 76, 87, 117, 53, 255, 109, 31, 210, 192, 20, 207, 69, 50]))
    self.assertThat(generation_hash(TEST_DEPLOYMENT_1), Equals(TEST_DEPLOYMENT_1_HASH))
    self.assertThat(generation_hash(TEST_DEPLOYMENT_2), Equals(TEST_DEPLOYMENT_2_HASH))
