Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MothScientist committed Dec 12, 2024
1 parent 8a63995 commit 41d50e3
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 123 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ jobs:
test_validators.py \
test_localization.py \
test_user_cache.py \
test_csv_tables.py \
test_fill_cache.py
test_csv_tables.py
database-queries-unit-tests-1:
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile-bot
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ RUN rm build_project.py \
sql/create_db.sql \
sql/indexes.sql \
sql/func_auto_count_users_of_group.sql \
sql/func_transaction_number.sql
sql/func_transaction_number.sql \
sql/update_group_uuid_after_transaction.sql

# Removing some unnecessary directories
RUN rm -rf /static \
Expand Down
2 changes: 1 addition & 1 deletion budget_graph/db_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ def get_group_transaction_uuid(self, group_id: int) -> str:
with self.__conn as conn:
with conn.cursor() as cur:
cur.execute("""SELECT
"transaction_uuid"
"transactions_uuid"
FROM
"budget_graph"."groups"
WHERE
Expand Down
23 changes: 0 additions & 23 deletions budget_graph/fill_cache.py

This file was deleted.

96 changes: 0 additions & 96 deletions tests/test_fill_cache.py

This file was deleted.

0 comments on commit 41d50e3

Please sign in to comment.