From 9fc2a82584de8144d7b5d8539472578bba4eb556 Mon Sep 17 00:00:00 2001 From: Ivan Kolodyazhny Date: Fri, 11 Jan 2019 13:26:45 +0000 Subject: [PATCH] Enable some tests in the cinder.tests.unit.test_cmd module for MacOS Most of the tests pass witout any issues on MacOS. Change-Id: Id1da16f5036bf20c3bbe48696f84242fdb20e677 --- cinder/tests/unit/test_cmd.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cinder/tests/unit/test_cmd.py b/cinder/tests/unit/test_cmd.py index db8670d0b1d..c658aeab730 100644 --- a/cinder/tests/unit/test_cmd.py +++ b/cinder/tests/unit/test_cmd.py @@ -56,7 +56,6 @@ from cinder.volume import rpcapi CONF = cfg.CONF -@test.testtools.skipIf(sys.platform == 'darwin', 'Not supported on macOS') class TestCinderApiCmd(test.TestCase): """Unit test cases for python modules under cinder/cmd.""" @@ -90,7 +89,6 @@ class TestCinderApiCmd(test.TestCase): launcher.wait.assert_called_once_with() -@test.testtools.skipIf(sys.platform == 'darwin', 'Not supported on macOS') class TestCinderBackupCmd(test.TestCase): def setUp(self): @@ -122,7 +120,6 @@ class TestCinderBackupCmd(test.TestCase): launcher.wait.assert_called_once_with() -@test.testtools.skipIf(sys.platform == 'darwin', 'Not supported on macOS') class TestCinderSchedulerCmd(test.TestCase): def setUp(self): @@ -149,7 +146,6 @@ class TestCinderSchedulerCmd(test.TestCase): service_wait.assert_called_once_with() -@test.testtools.skipIf(sys.platform == 'darwin', 'Not supported on macOS') class TestCinderVolumeCmdPosix(test.TestCase): def setUp(self): @@ -329,7 +325,6 @@ class TestCinderVolumeCmdWin32(test.TestCase): @ddt.ddt -@test.testtools.skipIf(sys.platform == 'darwin', 'Not supported on macOS') class TestCinderManageCmd(test.TestCase): def setUp(self): @@ -1774,7 +1769,6 @@ class TestCinderRtstoolCmd(test.TestCase): self.assertEqual(0, rc) -@test.testtools.skipIf(sys.platform == 'darwin', 'Not supported on macOS') class TestCinderVolumeUsageAuditCmd(test.TestCase): def setUp(self): @@ -2223,7 +2217,6 @@ class TestCinderVolumeUsageAuditCmd(test.TestCase): ]) -@test.testtools.skipIf(sys.platform == 'darwin', 'Not supported on macOS') class TestVolumeSharedTargetsOnlineMigration(test.TestCase): """Unit tests for cinder.db.api.service_*."""