diff --git a/tests/custom/tests.py b/tests/custom/tests.py index 84378ec..0d1f267 100644 --- a/tests/custom/tests.py +++ b/tests/custom/tests.py @@ -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)