'Test create a new default retention policy.'

def test_create_retention_policy_default(self):

    self.cli.create_retention_policy(u'somename', u'1d', 1, default=True)
    self.cli.create_retention_policy(u'another', u'2d', 1, default=False)
    rsp = self.cli.get_list_retention_policies()
    self.assertEqual([{u'duration': u'0s', u'default': False, u'replicaN': 1, u'shardGroupDuration': u'168h0m0s', u'name': u'autogen'}, {u'duration': u'24h0m0s', u'default': True, u'replicaN': 1, u'shardGroupDuration': u'1h0m0s', u'name': u'somename'}, {u'duration': u'48h0m0s', u'default': False, u'replicaN': 1, u'shardGroupDuration': u'24h0m0s', u'name': u'another'}], rsp)
