1 ##############################################################################
2 # Copyright (c) 2018 Sawyer Bergeron and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
11 from django.test import TestCase
12 from notifier.models import *
13 from django.contrib.auth.models import User
15 class NotifierTestCase(TestCase):
17 def test_valid_notifier_saves(self):
19 sender = User.objects.create()
20 recipient = User.objects.create()
22 Notifier.objects.create(
23 title='notification title',
24 content='notification body',