Commits

Shinya Okano committed 5f1b1ab

add test

  • Participants
  • Parent commits 4142a9f

Comments (0)

Files changed (1)

File skypehub/tests.py

+from django.test import TestCase
+
+from skypehub.decorators import skype_required
+
+class SkypeTest(TestCase):
+    def test_get_skype(self):
+        decorated = skype_required(lambda req, skype: skype)
+        self.assertNotEqual(decorated, None)