commit: 5dfb9a3f05449f2ed14bdc6fedb9d7325083e8f2
Author: Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail <DOT> com>
AuthorDate: Wed Jun 5 00:26:06 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Jun 5 00:26:06 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5dfb9a3f
dev-python/b2sdk: clean up some redundant code
Signed-off-by: Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail.com>
dev-python/b2sdk/b2sdk-2.0.0-r1.ebuild | 36 +++++++++-------------------------
dev-python/b2sdk/b2sdk-2.3.0.ebuild | 5 -----
2 files changed, 9 insertions(+), 32 deletions(-)
diff --git a/dev-python/b2sdk/b2sdk-2.0.0-r1.ebuild
b/dev-python/b2sdk/b2sdk-2.0.0-r1.ebuild
index 8075dc394..aa5beb680 100644
--- a/dev-python/b2sdk/b2sdk-2.0.0-r1.ebuild
+++ b/dev-python/b2sdk/b2sdk-2.0.0-r1.ebuild
@@ -38,30 +38,12 @@ 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"
-
- # https://github.com/Backblaze/b2-sdk-python/issues/488
- 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 \
- --deselect
test/unit/b2http/test_b2http.py::TestSetLocaleContextManager::test_set_locale_context_manager
\
- test/unit
-}
+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
+
test/unit/b2http/test_b2http.py::TestSetLocaleContextManager::test_set_locale_context_manager
\
+ test/integration/test_file_version_attributes.py
+)
diff --git a/dev-python/b2sdk/b2sdk-2.3.0.ebuild
b/dev-python/b2sdk/b2sdk-2.3.0.ebuild
index e240ecd74..9677228bc 100644
--- a/dev-python/b2sdk/b2sdk-2.3.0.ebuild
+++ b/dev-python/b2sdk/b2sdk-2.3.0.ebuild
@@ -45,8 +45,3 @@ EPYTEST_DESELECT=(
# can't typically work in the sandbox
test/integration
)
-
-python_test() {
- # https://github.com/Backblaze/b2-sdk-python/issues/488
- epytest test
-}