mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
tests: require keys on analytics report schema
This commit is contained in:
@@ -56,7 +56,8 @@ def test_runtime_info(tmp_global_config):
|
||||
"scm_class": Any("Git", None),
|
||||
"user_id": string,
|
||||
"system_info": dict,
|
||||
}
|
||||
},
|
||||
required=True,
|
||||
)
|
||||
|
||||
assert schema(analytics._runtime_info())
|
||||
@@ -98,7 +99,7 @@ def test_is_enabled(dvc_repo, config, result, monkeypatch, tmp_global_config):
|
||||
|
||||
|
||||
def test_system_info():
|
||||
schema = Schema({"os": Any("windows", "mac", "linux")})
|
||||
schema = Schema({"os": Any("windows", "mac", "linux")}, required=True)
|
||||
|
||||
system = platform.system()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user