diff --git a/colab/super_archives/tests/test_utils_collaborations.py b/colab/super_archives/tests/test_utils_collaborations.py new file mode 100644 index 00000000..f5d394db --- /dev/null +++ b/colab/super_archives/tests/test_utils_collaborations.py @@ -0,0 +1,12 @@ +# -*- coding:utf-8 -*- + +from django.test import TestCase +from colab.super_archives.utils.collaborations import count_threads + + +class CollaborationTest(TestCase): + + fixtures = ['mailinglistdata.json'] + + def test_count_threads(self): + self.assertEquals(count_threads(), 5)