aboutsummaryrefslogtreecommitdiff
path: root/tests/grliq/test_utils.py
diff options
context:
space:
mode:
authorMax Nanis2026-03-06 16:49:46 -0500
committerMax Nanis2026-03-06 16:49:46 -0500
commit91d040211a4ed6e4157896256a762d3854777b5e (patch)
treecd95922ea4257dc8d3f4e4cbe8534474709a20dc /tests/grliq/test_utils.py
downloadgeneralresearch-91d040211a4ed6e4157896256a762d3854777b5e.tar.gz
generalresearch-91d040211a4ed6e4157896256a762d3854777b5e.zip
Initial commitv3.3.4
Diffstat (limited to 'tests/grliq/test_utils.py')
-rw-r--r--tests/grliq/test_utils.py17
1 files changed, 17 insertions, 0 deletions
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)