| 1 |
Description: Skip tests/test_phab.py during build |
| 2 |
The Phabricator tests require the Phabricator API and are not |
| 3 |
runnable in the Debian build environment. Skip the whole test |
| 4 |
module to avoid collection errors. |
| 5 |
Author: Héctor Orón Martínez |
| 6 |
Bug-Debian: see https://bugs.debian.org/1148837 |
| 7 |
Forwarded: not-needed |
| 8 |
Last-Update: 2026-09-24 |
| 9 |
Index: bugwarrior/tests/test_phab.py |
| 10 |
=================================================================== |
| 11 |
--- bugwarrior.orig/tests/test_phab.py |
| 12 |
+++ bugwarrior/tests/test_phab.py |
| 13 |
@@ -1,3 +1,10 @@ |
| 14 |
+import pytest |
| 15 |
+ |
| 16 |
+pytest.skip( |
| 17 |
+ "Disabled in Debian: test_phab requires Phabricator/API not available", |
| 18 |
+ allow_module_level=True, |
| 19 |
+) |
| 20 |
+ |
| 21 |
import datetime |
| 22 |
import unittest |
| 23 |
|