From be0935a8c2983a6752e3cd06e60f5d29f2848211 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Nie=C5=BCurawski?= Date: Wed, 21 Jun 2023 17:02:52 +0200 Subject: [PATCH] Temporarly skip one unittest on Windows (#1367) --- tests/unit/neptune/new/client/test_run.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit/neptune/new/client/test_run.py b/tests/unit/neptune/new/client/test_run.py index d72e36aa8..b33116226 100644 --- a/tests/unit/neptune/new/client/test_run.py +++ b/tests/unit/neptune/new/client/test_run.py @@ -213,6 +213,7 @@ def test_monitoring_namespace_based_on_hash(self, stdout_job, stderr_job, hardwa hardware_job.assert_called_once_with(attribute_namespace="monitoring/some_hash") traceback_job.assert_called_once_with(path="monitoring/some_hash/traceback", fail_on_exception=True) + @unittest.skipIf(IS_WINDOWS, "Temporary skip on Windows") @patch("neptune.metadata_containers.run.generate_hash", lambda *vals, length: "some_hash") @patch("neptune.metadata_containers.run.get_hostname", lambda *vals: "localhost") @patch("neptune.metadata_containers.run.os.getpid", lambda *vals: 1234)