Skip to content

Commit

Permalink
Fixes #27
Browse files Browse the repository at this point in the history
  • Loading branch information
hudaifasaleh committed Jun 29, 2023
1 parent e986ab4 commit 4c6092f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dailyInbox/entries/jobs.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from django_extensions.management.jobs import DailyJob


class SendMailJob(DailyJob):
help = "Send mail to active accounts"

def execute(self):
pass
8 changes: 8 additions & 0 deletions dailyInbox/entries/tests/test_jobs.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from dailyInbox.entries.jobs import SendMailJob


class TestMailJob:
def test_send_email(self):
"""An active account receive an email prompt"""
job = SendMailJob()
job.execute()

0 comments on commit 4c6092f

Please sign in to comment.