From 72fe7809f9207091f0e90cb467ac8416527c833c Mon Sep 17 00:00:00 2001 From: Marcus Kertesz Date: Sun, 15 Oct 2023 11:43:22 -0700 Subject: [PATCH] Black tests --- tests/test_cli.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index a0aa0c5..8f387c0 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -1,6 +1,7 @@ import io import os.path import subprocess + # Local testing requires running `pip install -e "."` import tempfile from contextlib import redirect_stdout @@ -51,9 +52,10 @@ class TestRelicSgaCli(CommandTests): ... -def _get_sample_file(path:str): +def _get_sample_file(path: str): return os.path.abspath(os.path.join(__file__, "../data", path)) + _SAMPLE_V2 = _get_sample_file("SampleSGA-v2.sga") _SAMPLE_V2_OCT_15_2023 = _get_sample_file("SampleSGA-v2-Oct-15-2023.sga") _SAMPLES = [_SAMPLE_V2, _SAMPLE_V2_OCT_15_2023]