Skip to content

Commit f514da7

Browse files
committed
chore: sync pending local updates
Apply all current local changes for this repository, including recent PayPal subscription, billing, entitlement, and UI updates where applicable.
1 parent 115ac3a commit f514da7

7 files changed

Lines changed: 14 additions & 0 deletions

File tree

pytest.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ addopts =
1313
markers =
1414
unit: Unit tests
1515
integration: Integration tests
16+
17+

tests/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,5 @@ The tests aim to cover:
6565
- Tests use mocking to avoid external dependencies (AWS, API calls, Streamlit)
6666
- Some tests require proper mocking of Streamlit session state
6767
- JWT tests use a test secret key for validation
68+
69+

tests/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
# Tests package
2+
3+

tests/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,5 @@ def mock_user_info():
7777
"user_id": "123",
7878
"role": "admin"
7979
}
80+
81+

tests/test_auth.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,3 +237,5 @@ def test_get_user_info_with_invalid_token_fallback(self, mock_st, mock_create_co
237237

238238
assert result == {"username": "session_user"}
239239
mock_create_cookie.assert_called_once_with({"username": "session_user"})
240+
241+

tests/test_http.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,3 +346,5 @@ def test_delete_error(self, mock_delete):
346346
result = make_request.delete("/test/endpoint")
347347

348348
assert result is None
349+
350+

tests/test_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,3 +321,5 @@ def test_generate_session_uuid(self):
321321
assert isinstance(uuid_str, str)
322322
assert len(uuid_str) == 36 # UUID format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
323323
assert uuid_str.count('-') == 4
324+
325+

0 commit comments

Comments
 (0)