Skip to content

Commit

Permalink
尝试修改单元测试
Browse files Browse the repository at this point in the history
  • Loading branch information
woshiyanghai committed Sep 23, 2024
1 parent 93ac8d4 commit e69b56d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sql/test_archiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class TestArchiver(TestCase):
"""

def setUp(self):
self.now = datetime.now()
self.superuser = User.objects.create(username="super", is_superuser=True)
self.u1 = User.objects.create(username="u1", is_superuser=False)
self.u2 = User.objects.create(username="u2", is_superuser=False)
Expand Down

0 comments on commit e69b56d

Please sign in to comment.