blob: d9034d54a0a991754e9ed6ab8b3df350169ff72b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)
|