From 1c5f0c4d1d97a494aacb83f6dce75f1d77238534 Mon Sep 17 00:00:00 2001 From: Iain Dillingham Date: Wed, 6 Apr 2022 16:18:06 +0200 Subject: [PATCH] Fix broken test The `test_parse_args` test is broken because it doesn't contain any assert statements. --- tests/test_deciles_charts.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/test_deciles_charts.py b/tests/test_deciles_charts.py index 61c27de..de9413b 100644 --- a/tests/test_deciles_charts.py +++ b/tests/test_deciles_charts.py @@ -1,3 +1,5 @@ +import pathlib + import pandas import pytest from pandas import testing @@ -101,5 +103,5 @@ def test_parse_args(tmp_path, monkeypatch): args = deciles_charts.parse_args() # assert - args.input_dir == "input" - args.output_dir == "output" + assert args.input_dir == pathlib.Path("input") + assert args.output_dir == pathlib.Path("output")