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