From 7943add4c801cd0f324fe871ee247b988cdcee6a Mon Sep 17 00:00:00 2001 From: Alexander Schepanovski Date: Thu, 2 May 2019 17:47:42 +0700 Subject: [PATCH] test: skip data cloud cli tests properly, don't say passed --- tests/func/test_data_cloud.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/func/test_data_cloud.py b/tests/func/test_data_cloud.py index aba953331..d8a8a6921 100644 --- a/tests/func/test_data_cloud.py +++ b/tests/func/test_data_cloud.py @@ -532,8 +532,11 @@ class TestDataCloudCLIBase(TestDvc): pass def test(self): - if self._should_test(): - self._test() + if not self._should_test(): + raise SkipTest( + "Test {} is disabled".format(self.__class__.__name__) + ) + self._test() class TestCompatRemoteLOCALCLI(TestDataCloudCLIBase):