Merge pull request #1962 from Suor/test-cloud-small-fix

test: skip data cloud cli tests properly, don't say it's passed
This commit is contained in:
Ruslan Kuprieiev
2019-05-02 14:39:33 +03:00
committed by GitHub
+5 -2
View File
@@ -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):