metrics: rework metrics implementation (#3658)

Dropping support for all types except json and yaml. No more xpath
support.

Fixes #3572
This commit is contained in:
Ruslan Kuprieiev
2020-04-22 13:39:59 +03:00
committed by GitHub
parent 52369bdf47
commit 45944ddde7
17 changed files with 383 additions and 1443 deletions
+4 -3
View File
@@ -69,10 +69,11 @@ def test_init_no_scm_cli(tmp_dir):
def test_init_quiet_should_not_display_welcome_screen(tmp_dir, scm, caplog):
ret = main(["init", "--quiet"])
with caplog.at_level(logging.INFO, logger="dvc"):
ret = main(["init", "--quiet"])
assert 0 == ret
assert "" == caplog.text
assert 0 == ret
assert "" == caplog.text
def test_allow_init_dvc_subdir(tmp_dir, scm, monkeypatch):