From 91d040211a4ed6e4157896256a762d3854777b5e Mon Sep 17 00:00:00 2001 From: Max Nanis Date: Fri, 6 Mar 2026 16:49:46 -0500 Subject: Initial commit --- tests/grliq/test_utils.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/grliq/test_utils.py (limited to 'tests/grliq/test_utils.py') diff --git a/tests/grliq/test_utils.py b/tests/grliq/test_utils.py new file mode 100644 index 0000000..d9034d5 --- /dev/null +++ b/tests/grliq/test_utils.py @@ -0,0 +1,17 @@ +from pathlib import Path +from uuid import uuid4 + + +class TestUtils: + + def test_get_screenshot_fp(self, mnt_grliq_archive_dir, utc_hour_ago): + from generalresearch.grliq.utils import get_screenshot_fp + + fp1 = get_screenshot_fp( + created_at=utc_hour_ago, + forensic_uuid=uuid4(), + grliq_archive_dir=mnt_grliq_archive_dir, + create_dir_if_not_exists=True, + ) + + assert isinstance(fp1, Path) -- cgit v1.2.3