Mercurial > public > sg101
annotate 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 |
rev | line source |
---|---|
bgneal@868 | 1 """Unit tests for the ssl_images management command.""" |
bgneal@868 | 2 |
bgneal@868 | 3 import unittest |
bgneal@868 | 4 |
bgneal@868 | 5 from core.management.commands.ssl_images import process_post |
bgneal@868 | 6 |
bgneal@868 | 7 |
bgneal@868 | 8 class ProcessPostTestCase(unittest.TestCase): |
bgneal@868 | 9 |
bgneal@868 | 10 def test_empty_string(self): |
bgneal@868 | 11 s = process_post('') |
bgneal@868 | 12 self.assertEqual(s, '') |