test_loading_data.py 280 Bytes
Newer Older
Florent Chehab's avatar
Florent Chehab committed
1
2
3
4
5
6
7
8
9
10
11
from django.test import TestCase
from backend.load_data import load_all


class ModerationTestCase(TestCase):

    def test_everything_loads(self):
        try:
            load_all()
        except Exception:
            self.fail("load_all() raised an Exception unexpectedly!")