Skip to content

Commit

Permalink
Revamped the graph-feature code for proper functioning
Browse files Browse the repository at this point in the history
  • Loading branch information
rishi2019194 committed Nov 25, 2023
1 parent 78fd5dd commit a364c7b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions tests/test_history.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,15 @@

23/11 14:31:50 User: How are you?
23/11 14:31:50 Assistant: Mocked response

24/11 19:38:05 User: How are you?
24/11 19:38:05 Assistant: Mocked response

24/11 19:38:43 User: How are you?
24/11 19:38:43 Assistant: Mocked response

24/11 19:39:11 User: How are you?
24/11 19:39:11 Assistant: Mocked response

24/11 19:39:51 User: How are you?
24/11 19:39:51 Assistant: Mocked response
2 changes: 1 addition & 1 deletion tests/test_utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def test_get_entries_for_email(self):
start_date = datetime(2023, 1, 1)
end_date = datetime(2023, 12, 31)

result = get_entries_for_email(mock_db, email, start_date, end_date)
result, [] = get_entries_for_email(mock_db, email, start_date, end_date)

self.assertEqual(result, entries_data)

Expand Down

0 comments on commit a364c7b

Please sign in to comment.