mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
tests: fix #1754
This commit is contained in:
@@ -57,6 +57,7 @@ if os.path.exists(os.path.join(HOMEPATH, "setup.py")):
|
||||
if (
|
||||
os.getenv("APPVEYOR_REPO_TAG", "").lower() != "true"
|
||||
and os.getenv("TRAVIS_TAG", "") == ""
|
||||
and os.getenv("DVC_TEST", "").lower() != "true"
|
||||
):
|
||||
__version__ = _update_version_file()
|
||||
else: # pragma: no cover
|
||||
|
||||
@@ -1,10 +1,15 @@
|
||||
import os
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
from dvc.main import main
|
||||
|
||||
from tests.basic_env import TestDvc
|
||||
|
||||
|
||||
@unittest.skipIf(
|
||||
sys.platform == "win32", "Git hooks aren't supported on Windows"
|
||||
)
|
||||
class TestInstall(TestDvc):
|
||||
def test(self):
|
||||
ret = main(["install"])
|
||||
|
||||
Reference in New Issue
Block a user