renamed Aqua exception to AquaError
@@ -21,11 +21,12 @@ InputParser test.
import unittest
from test.common import QiskitAquaChemistryTestCase
-from qiskit_aqua import AlgorithmError
+from qiskit_aqua import AquaError
from qiskit_aqua_chemistry.parser import InputParser
import os
import json
+
class TestInputParser(QiskitAquaChemistryTestCase):
"""InputParser tests."""
@@ -74,7 +75,8 @@ class TestInputParser(QiskitAquaChemistryTestCase):
self.fail(str(e))
p.set_section_property('optimizer', 'dummy', 1002)
- self.assertRaises(AlgorithmError, p.validate_merge_defaults)
+ self.assertRaises(AquaError, p.validate_merge_defaults)
+
if __name__ == '__main__':
unittest.main()
