git » python-requests-toolbelt.git » commit 697514a

Disable broken x509 tests

author Johannes Löthberg
2021-12-02 14:31:57 UTC
committer Johannes Löthberg
2021-12-02 14:31:57 UTC
parent f89f31edd849ff4d0cf65bc2f7dc43b569717658

Disable broken x509 tests

Currently these tests fail due to the static certificates used expired on
2021-11-27.  But they were reported as failing due to a _different_ error all
the way back in March[0], so let's just disable the tests for now.

[0]: https://github.com/requests/toolbelt/issues/306

PKGBUILD +1 -1

diff --git a/PKGBUILD b/PKGBUILD
index 6a42cb8..c9b8c36 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -28,7 +28,7 @@ build() {
 
 check() {
   cd "$srcdir"/toolbelt-$pkgver
-  py.test -k 'not test_no_content_length_header and not test_read_file and not test_reads_file_from_url_wrapper'
+  py.test -k 'not test_no_content_length_header and not test_read_file and not test_reads_file_from_url_wrapper and not test_x509_der and not test_x509_pem'
 }
 
 package() {