💅 deepsource

This commit is contained in:
Mr. Outis
2019-11-26 19:34:49 -06:00
parent f9952046fd
commit 2a5cac5570
3 changed files with 3 additions and 3 deletions
+1 -2
View File
@@ -3,7 +3,6 @@ import logging
import platform
import requests
import sys
import tempfile
import uuid
import errno
@@ -124,4 +123,4 @@ def find_or_create_user_id():
return user_id
except LockError:
logger.debug("Failed to acquire {lock}".format(lockfile))
logger.debug("Failed to acquire {lockfile}".format(lockfile=lockfile))
+1
View File
@@ -3,6 +3,7 @@ from __future__ import unicode_literals
import logging
import json
import tempfile
from dvc import analytics
from dvc.cli import parse_args
+1 -1
View File
@@ -8,9 +8,9 @@ from dvc import analytics
def test_collect():
report = analytics.collect(return_code=0)
assert report["cmd_class"] == None
assert report["cmd_return_code"] == 0
assert report["scm_class"] in ["Git", None]
assert not report["cmd_class"]
assert type(report["is_binary"]) is bool
assert type(report["system_info"]) is dict
assert type(report["dvc_version"]) is str