Reduces number of warnings from testing from 165 to 128. In doing so, fixes a few minor things in the decrypt and export commands

This commit is contained in:
Trenton Holmes
2022-03-07 16:13:20 -08:00
parent 96a84d16a6
commit 85b210ebf6
6 changed files with 24 additions and 14 deletions

View File

@@ -61,6 +61,6 @@ class TestDocumentAdmin(DirectoriesMixin, TestCase):
def test_created(self):
doc = Document.objects.create(
title="test", created=timezone.datetime(2020, 4, 12)
title="test", created=timezone.make_aware(timezone.datetime(2020, 4, 12))
)
self.assertEqual(self.doc_admin.created_(doc), "2020-04-12")