示例#1
0
 def test_create_snapshot_body_positive(self):
     self.assertEqual(snap_body,
                      curator.create_snapshot_body(named_indices))
示例#2
0
 def test_create_snapshot_body__all_positive(self):
     self.assertEqual(snap_body_all, curator.create_snapshot_body('_all'))
示例#3
0
 def test_create_snapshot_body_empty_arg(self):
     self.assertFalse(curator.create_snapshot_body([]))
示例#4
0
 def test_create_snapshot_body_positive(self):
     self.assertEqual(snap_body, curator.create_snapshot_body(named_indices))
示例#5
0
 def test_create_snapshot_body__all_positive(self):
     self.assertEqual(snap_body_all, curator.create_snapshot_body('_all'))
示例#6
0
 def test_create_snapshot_body_empty_arg(self):
     self.assertFalse(curator.create_snapshot_body([]))