-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kathleen Hogan
committed
Mar 20, 2024
1 parent
14fb157
commit a0c15c7
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import pytest | ||
from unittest.mock import MagicMock | ||
from secureli.modules.pii_scanner.pii_scanner import PiiScannerService | ||
|
||
|
||
@pytest.fixture() | ||
def mock_repo_files_repository() -> MagicMock: | ||
mock_repo_files_repository = MagicMock() | ||
return mock_repo_files_repository | ||
|
||
|
||
@pytest.fixture() | ||
def pii_scanner_service(mock_repo_files_repository: MagicMock) -> PiiScannerService: | ||
return PiiScannerService(mock_repo_files_repository) | ||
|
||
|
||
# dummy test below as placeholder | ||
def test_that_pii_scanner_service_does_cool_things( | ||
pii_scanner_service: PiiScannerService, | ||
): | ||
pass |