mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
dvc metrics show: implement jsonpath-ng
updated setup.py updated test_metrics.py::assertMetricsHaveRelativePaths Fixes #1919
This commit is contained in:
@@ -48,7 +48,7 @@ install_requires = [
|
||||
"nanotime>=0.5.2",
|
||||
"pyasn1>=0.4.1",
|
||||
"schema>=0.6.7",
|
||||
"jsonpath-rw==1.4.0",
|
||||
"jsonpath-ng>=1.4.3",
|
||||
"requests>=2.18.4",
|
||||
"grandalf==0.6",
|
||||
"asciimatics>=1.10.0",
|
||||
|
||||
@@ -343,6 +343,7 @@ class TestMetrics(TestDvc):
|
||||
metric_htsv_path = os.path.join(root_relpath, "metric_htsv")
|
||||
metric_csv_path = os.path.join(root_relpath, "metric_csv")
|
||||
metric_hcsv_path = os.path.join(root_relpath, "metric_hcsv")
|
||||
metric_json_ext_path = os.path.join(root_relpath, "metric_json_ext")
|
||||
for branch in ["bar", "baz", "foo"]:
|
||||
self.assertEqual(
|
||||
set(metrics[branch].keys()),
|
||||
@@ -353,6 +354,7 @@ class TestMetrics(TestDvc):
|
||||
metric_htsv_path,
|
||||
metric_csv_path,
|
||||
metric_hcsv_path,
|
||||
metric_json_ext_path,
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user