Mercurial > public > sg101
diff core/tests/test_ssl_images.py @ 868:64a5acb83937
WIP on ssl_images command.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 15 Dec 2014 19:51:12 -0600 |
parents | |
children | ee56c8c8cf98 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/core/tests/test_ssl_images.py Mon Dec 15 19:51:12 2014 -0600 @@ -0,0 +1,12 @@ +"""Unit tests for the ssl_images management command.""" + +import unittest + +from core.management.commands.ssl_images import process_post + + +class ProcessPostTestCase(unittest.TestCase): + + def test_empty_string(self): + s = process_post('') + self.assertEqual(s, '')