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