Skip to content

Commit 39c5722

Browse files
committed
update testing
1 parent 39a69f3 commit 39c5722

3 files changed

Lines changed: 32 additions & 14 deletions

File tree

.secrets.baseline

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -124,16 +124,25 @@
124124
},
125125
{
126126
"path": "detect_secrets.filters.heuristic.is_templated_secret"
127-
},
128-
{
129-
"path": "detect_secrets.filters.regex.should_exclude_file",
130-
"pattern": [
131-
"\\.secrets\\.baseline$",
132-
"detect_findings\\.baseline$"
133-
]
134127
}
135128
],
136129
"results": {
130+
"TESTING.md": [
131+
{
132+
"type": "Secret Keyword",
133+
"filename": "TESTING.md",
134+
"hashed_secret": "72559b51f94a7a3ad058c5740cbe2f7cb0d4080b",
135+
"is_verified": false,
136+
"line_number": 33
137+
},
138+
{
139+
"type": "Secret Keyword",
140+
"filename": "TESTING.md",
141+
"hashed_secret": "052da94a6343dacf76068ae52e8f60afef31507e",
142+
"is_verified": false,
143+
"line_number": 132
144+
}
145+
],
137146
"auth_platform/TESTING_2FA.md": [
138147
{
139148
"type": "Secret Keyword",
@@ -191,6 +200,15 @@
191200
"line_number": 139
192201
}
193202
],
203+
"auth_platform/auth_platform_tests/test_dev_monitor.py": [
204+
{
205+
"type": "Secret Keyword",
206+
"filename": "auth_platform/auth_platform_tests/test_dev_monitor.py",
207+
"hashed_secret": "f409ce90a1cd144912d1df8620215b2dc9fda731",
208+
"is_verified": false,
209+
"line_number": 45
210+
}
211+
],
194212
"auth_platform/auth_platform_tests/test_event_logger.py": [
195213
{
196214
"type": "Secret Keyword",
@@ -219,5 +237,5 @@
219237
}
220238
]
221239
},
222-
"generated_at": "2025-11-24T00:00:02Z"
240+
"generated_at": "2025-11-24T00:05:16Z"
223241
}

TESTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ curl -X POST http://localhost:8000/register \
3030
"first_name": "Test",
3131
"last_name": "User",
3232
"email": "test@example.com",
33-
"password": "SecurePass123!", # pragma: allowlist secret
33+
"password": "SecurePass123!",
3434
"tier": "dev"
3535
}' | python -m json.tool
3636
```
@@ -47,7 +47,7 @@ curl -X POST http://localhost:8000/login \
4747
-H "Content-Type: application/json" \
4848
-d '{
4949
"username": "testuser",
50-
"password": "SecurePass123!" # pragma: allowlist secret
50+
"password": "SecurePass123!"
5151
}' | python -m json.tool
5252
```
5353

@@ -94,7 +94,7 @@ curl -X POST http://localhost:8000/2fa/disable \
9494
-H "Content-Type: application/json" \
9595
-d '{
9696
"username": "testuser",
97-
"password": "SecurePass123!" # pragma: allowlist secret
97+
"password": "SecurePass123!"
9898
}' | python -m json.tool
9999
```
100100

@@ -105,7 +105,7 @@ curl -X POST http://localhost:8000/2fa/enroll \
105105
-H "Content-Type: application/json" \
106106
-d '{
107107
"username": "testuser",
108-
"password": "SecurePass123!" # pragma: allowlist secret
108+
"password": "SecurePass123!"
109109
}' | python -m json.tool
110110
```
111111

@@ -129,7 +129,7 @@ curl -X POST http://localhost:8000/password-reset/confirm \
129129
-H "Content-Type: application/json" \
130130
-d '{
131131
"token": "RESET_TOKEN",
132-
"new_password": "NewSecurePass123!" # pragma: allowlist secret
132+
"new_password": "NewSecurePass123!"
133133
}' | python -m json.tool
134134
```
135135

auth_platform/auth_platform_tests/test_dev_monitor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def test_user(db_session):
4242
first_name="Test",
4343
last_name="User",
4444
email="test@example.com",
45-
password="hashed_password", # pragma: allowlist secret
45+
password="hashed_password",
4646
tier="dev"
4747
)
4848
db_session.add(user)

0 commit comments

Comments
 (0)