Repository: Qiskit/qiskit-ibm-transpiler (language: python)

Issue:
Update test after new service's 2-qubit limits
The service now accepts up to 30K 2-qubit gates. We must update the tests to make it not fail


Discussion / hints:

Fix patch:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9151438..5eca1c9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -22,6 +22,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
 
 ### 🐛 Fixed
 
+- [#26](https://github.com/Qiskit/qiskit-transpiler-service/pull/26) Updating tests about service's limits after last changes
+
 ### ❌ Removed
 
 ### 👾 Security


Test patch:
diff --git a/tests/test_transpiler_service.py b/tests/test_transpiler_service.py
index 15e5cc5..c907da3 100644
--- a/tests/test_transpiler_service.py
+++ b/tests/test_transpiler_service.py
@@ -176,7 +176,7 @@ def test_transpile_non_valid_backend():
 
 
 def test_transpile_exceed_circuit_size():
-    circuit = EfficientSU2(200, entanglement="circular", reps=50).decompose()
+    circuit = EfficientSU2(120, entanglement="full", reps=5).decompose()
     transpiler_service = TranspilerService(
         backend_name="ibm_kyoto",
         ai="false",
@@ -187,7 +187,7 @@ def test_transpile_exceed_circuit_size():
         transpiler_service.run(circuit)
         pytest.fail("Error expected")
     except Exception as e:
-        assert str(e) == "'Circuit has more gates than the allowed maximum of 5000.'"
+        assert str(e) == "'Circuit has more gates than the allowed maximum of 30000.'"
 
 
 def test_transpile_malformed_body():