about summary refs log tree commit diff
path: root/pkgs/development/python-modules/moto
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2022-10-24 13:51:53 +0200
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2022-10-24 13:51:53 +0200
commit5b84c0c04ddc11cc1f5637ae4c972982038097fe (patch)
treed7332ad621a0c6501324e329a4a5435473bfb9af /pkgs/development/python-modules/moto
parentbc4ce318bf6aa52031ad891675c573ce31308c8d (diff)
python310Packages.moto: disable failing tests
Diffstat (limited to 'pkgs/development/python-modules/moto')
-rw-r--r--pkgs/development/python-modules/moto/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/moto/default.nix b/pkgs/development/python-modules/moto/default.nix
index 220c3aa3caa1a..ad8b8c13a6923 100644
--- a/pkgs/development/python-modules/moto/default.nix
+++ b/pkgs/development/python-modules/moto/default.nix
@@ -1,4 +1,5 @@
 { lib
+, stdenv
 , buildPythonPackage
 , fetchPypi
 , pythonOlder
@@ -103,7 +104,7 @@ buildPythonPackage rec {
     "--deselect=tests/test_s3/test_server.py::test_s3_server_bucket_versioning"
     "--deselect=tests/test_s3/test_multiple_accounts_server.py::TestAccountIdResolution::test_with_custom_request_header"
 
-    # Disalbe test that require docker daemon
+    # Disable tests that require docker daemon
     "--deselect=tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda"
     "--deselect=tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda"
 
@@ -119,6 +120,13 @@ buildPythonPackage rec {
 
     # Blocks test execution
     "--deselect=tests/test_utilities/test_threaded_server.py::TestThreadedMotoServer::test_load_data_from_inmemory_client"
+  ] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
+    "--deselect=tests/test_utilities/test_threaded_server.py::test_threaded_moto_server__different_port"
+    "--deselect=tests/test_utilities/test_threaded_server.py::TestThreadedMotoServer::test_server_can_handle_multiple_services"
+    "--deselect=tests/test_utilities/test_threaded_server.py::TestThreadedMotoServer::test_server_is_reachable"
+
+    # AssertionError: expected `{0}` to be greater than `{1}`
+    "--deselect=tests/test_databrew/test_databrew_recipes.py::test_publish_recipe"
   ];
 
   disabledTestPaths = [