fix(opax-mcp): correct indentation in firestore store test

This commit is contained in:
Chris Christiansen 2026-09-21 09:53:37 +00:00
parent 2fbf54878a
commit 9e80fe95eb

View File

@ -41,7 +41,7 @@ class TestPhase2BFirestoreStore(unittest.IsolatedAsyncioTestCase):
# Mocks for record_audit_event
self.mock_firestore_client.collection.return_value.document.return_value.create = AsyncMock()
self.store = FirestoreMemoryStore(project_id="test-project", client=self.mock_firestore_client)
self.store = FirestoreMemoryStore(project_id="test-project", client=self.mock_firestore_client)
def tearDown(self):
self.transaction_patcher.stop()
@ -56,9 +56,9 @@ class TestPhase2BFirestoreStore(unittest.IsolatedAsyncioTestCase):
self.mock_firestore_client.collection.assert_called_with("emma_conversations")
collection_mock = self.mock_firestore_client.collection.return_value
collection_mock.document.assert_called_with(convo.conversation_id)
document_mock = collection_mock.document.return_value
document_mock.set.assert_awaited_once()
collection_mock.document.assert_called_with(convo.conversation_id)
document_mock = collection_mock.document.return_value
document_mock.set.assert_awaited_once()
async def test_append_message_uses_subcollection_and_updates_timestamp(self):