view 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 source
"""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, '')