Skip to content

Commit

Permalink
Blacken
Browse files Browse the repository at this point in the history
  • Loading branch information
dcwatson committed Apr 17, 2024
1 parent c094d3b commit a415da9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/custom/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,9 @@ def setUpClass(cls):
"username" text NOT NULL,
PRIMARY KEY ("id", "session_date")
) PARTITION BY RANGE ("session_date")
""".format(UnmanagedHistory._meta.db_table)
""".format(
UnmanagedHistory._meta.db_table
)
# Generate the CREATE TABLE for the partition for this year.
today = datetime.date.today()
cls.partition_name = UnmanagedHistory._meta.db_table + "_" + str(today.year)
Expand Down

0 comments on commit a415da9

Please sign in to comment.