pytest-neon 2.1.2__py3-none-any.whl → 2.1.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pytest_neon/__init__.py +1 -1
- pytest_neon/plugin.py +2 -2
- {pytest_neon-2.1.2.dist-info → pytest_neon-2.1.3.dist-info}/METADATA +1 -1
- pytest_neon-2.1.3.dist-info/RECORD +8 -0
- pytest_neon-2.1.2.dist-info/RECORD +0 -8
- {pytest_neon-2.1.2.dist-info → pytest_neon-2.1.3.dist-info}/WHEEL +0 -0
- {pytest_neon-2.1.2.dist-info → pytest_neon-2.1.3.dist-info}/entry_points.txt +0 -0
- {pytest_neon-2.1.2.dist-info → pytest_neon-2.1.3.dist-info}/licenses/LICENSE +0 -0
pytest_neon/__init__.py
CHANGED
pytest_neon/plugin.py
CHANGED
|
@@ -502,10 +502,10 @@ def _wait_for_operations(
|
|
|
502
502
|
op_data = response.json().get("operation", {})
|
|
503
503
|
status = op_data.get("status")
|
|
504
504
|
|
|
505
|
-
if status == "
|
|
505
|
+
if status == "failed":
|
|
506
506
|
err = op_data.get("error", "unknown error")
|
|
507
507
|
raise RuntimeError(f"Operation {op_id} failed: {err}")
|
|
508
|
-
if status not in ("finished", "skipped"):
|
|
508
|
+
if status not in ("finished", "skipped", "cancelled"):
|
|
509
509
|
still_pending.append(op_id)
|
|
510
510
|
except requests.RequestException:
|
|
511
511
|
# On network error, assume still pending and retry
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pytest-neon
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.3
|
|
4
4
|
Summary: Pytest plugin for Neon database branch isolation in tests
|
|
5
5
|
Project-URL: Homepage, https://github.com/ZainRizvi/pytest-neon
|
|
6
6
|
Project-URL: Repository, https://github.com/ZainRizvi/pytest-neon
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
pytest_neon/__init__.py,sha256=fH3sniGAu5gQb9BBLFBdihY6hF1oVo7m44TADgL6HfE,398
|
|
2
|
+
pytest_neon/plugin.py,sha256=tD6d9OfkWxd1tpv4_v5HSuUSJaveF7cFHX_gtsXbC6s,38052
|
|
3
|
+
pytest_neon/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
pytest_neon-2.1.3.dist-info/METADATA,sha256=0S8dlHOXbfkw83RabqlH0I5D7kUH5Qu1VzcUCmb-ga0,18734
|
|
5
|
+
pytest_neon-2.1.3.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
6
|
+
pytest_neon-2.1.3.dist-info/entry_points.txt,sha256=5U88Idj_G8-PSDb9VF3OwYFbGLHnGOo_GxgYvi0dtXw,37
|
|
7
|
+
pytest_neon-2.1.3.dist-info/licenses/LICENSE,sha256=aKKp_Ex4WBHTByY4BhXJ181dzB_qYhi2pCUmZ7Spn_0,1067
|
|
8
|
+
pytest_neon-2.1.3.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
pytest_neon/__init__.py,sha256=EKni9NpcUiIPy8J8vj-s6oKH6S98JlNs5JYuF151cMA,398
|
|
2
|
-
pytest_neon/plugin.py,sha256=r30wz96rQZerAiAF8wAVmWPksF6lM2dsJyUNj2X9rWo,38038
|
|
3
|
-
pytest_neon/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
pytest_neon-2.1.2.dist-info/METADATA,sha256=QA7xaOCbi_wD8LTwb8gWQpZe8rG8BWcMrETS78HUOks,18734
|
|
5
|
-
pytest_neon-2.1.2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
6
|
-
pytest_neon-2.1.2.dist-info/entry_points.txt,sha256=5U88Idj_G8-PSDb9VF3OwYFbGLHnGOo_GxgYvi0dtXw,37
|
|
7
|
-
pytest_neon-2.1.2.dist-info/licenses/LICENSE,sha256=aKKp_Ex4WBHTByY4BhXJ181dzB_qYhi2pCUmZ7Spn_0,1067
|
|
8
|
-
pytest_neon-2.1.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|