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