comparison 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
comparison
equal deleted inserted replaced
866:98adae6e13a1 868:64a5acb83937
1 """Unit tests for the ssl_images management command."""
2
3 import unittest
4
5 from core.management.commands.ssl_images import process_post
6
7
8 class ProcessPostTestCase(unittest.TestCase):
9
10 def test_empty_string(self):
11 s = process_post('')
12 self.assertEqual(s, '')