From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/b2sdk/
Date: Wed, 5 Jun 2024 12:48:39 +0000 (UTC) [thread overview]
Message-ID: <1717546739.ac27151884ede4bdac7e0a8acfd67668bde91cb9.flow@gentoo> (raw)
commit: ac27151884ede4bdac7e0a8acfd67668bde91cb9
Author: Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail <DOT> com>
AuthorDate: Wed Jun 5 00:18:59 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Jun 5 00:18:59 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ac271518
dev-python/b2sdk: fix broken tests.
There were some networked tests that weren't being skipped
Signed-off-by: Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail.com>
Closes: https://bugs.gentoo.org/908089
dev-python/b2sdk/b2sdk-1.21.0.ebuild | 30 +++++++-----------------------
1 file changed, 7 insertions(+), 23 deletions(-)
diff --git a/dev-python/b2sdk/b2sdk-1.21.0.ebuild b/dev-python/b2sdk/b2sdk-1.21.0.ebuild
index 6bba19c7a..cbb725554 100644
--- a/dev-python/b2sdk/b2sdk-1.21.0.ebuild
+++ b/dev-python/b2sdk/b2sdk-1.21.0.ebuild
@@ -36,26 +36,10 @@ BDEPEND+=" test? (
')
)"
-# These tests seem to require some b2 authentication (they're integration tests
-# so this is not unreasonable)
-python_test() {
- # note: used to avoid an ExcessiveLineLength lint below.
- local sqlite_test_path="test/unit/account_info/test_sqlite_account_info.py"
- epytest \
- --deselect test/integration/test_large_files.py::TestLargeFile::test_large_file \
- --deselect test/integration/test_raw_api.py::test_raw_api \
- --deselect test/integration/test_download.py::TestDownload::test_large_file \
- --deselect test/integration/test_download.py::TestDownload::test_small \
- --deselect test/integration/test_download.py::TestDownload::test_small_unverified \
- --deselect test/integration/test_download.py::TestDownload::test_gzip \
- --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_invalid_profile_name \
- --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_file_name_conflict \
- --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_env_var_conflict \
- --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_xdg_config_env_var \
- --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile \
- --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_file_name \
- --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_env_var \
- --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_default_file_if_exists \
- --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_xdg_config_env_var \
- --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_default_file
-}
+EPYTEST_DESELECT=(
+ test/integration/test_large_files.py::TestLargeFile::test_large_file
+ test/integration/test_raw_api.py::test_raw_api
+ test/integration/test_download.py
+ test/integration/test_upload.py
+ test/unit/account_info/test_sqlite_account_info.py
+)
next reply other threads:[~2024-06-05 12:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-05 12:48 Florian Schmaus [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-05 12:48 [gentoo-commits] repo/proj/guru:master commit in: dev-python/b2sdk/ Florian Schmaus
2024-06-04 22:21 Julien Roy
2024-04-05 15:22 Arthur Zamarin
2024-04-05 11:05 Julien Roy
2024-04-03 11:17 Julien Roy
2024-04-03 11:17 Julien Roy
2024-04-03 11:17 Julien Roy
2021-10-01 21:04 Haelwenn Monnier
2021-04-23 8:47 Haelwenn Monnier
2021-01-04 9:34 Andrew Ammerlaan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1717546739.ac27151884ede4bdac7e0a8acfd67668bde91cb9.flow@gentoo \
--to=flow@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox