view core/tests/test_ssl_images.py @ 869:63209e53f3aa

Merge with upstream.
author Brian Neal <bgneal@gmail.com>
date Mon, 15 Dec 2014 19:51:28 -0600
parents 64a5acb83937
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, '')