コード例 #1
0
ファイル: test_api_utils.py プロジェクト: tarjei/curator
 def test_create_snapshot_body_positive(self):
     self.assertEqual(snap_body,
                      curator.create_snapshot_body(named_indices))
コード例 #2
0
ファイル: test_api_utils.py プロジェクト: tarjei/curator
 def test_create_snapshot_body__all_positive(self):
     self.assertEqual(snap_body_all, curator.create_snapshot_body('_all'))
コード例 #3
0
ファイル: test_api_utils.py プロジェクト: tarjei/curator
 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([]))