David Chambers avatar David Chambers committed 1950fc8

Pluralized class names.

Comments (0)

Files changed (1)

     return document
 
 
-class ExcerptTestCase(unittest.TestCase):
+class ExcerptTests(unittest.TestCase):
 
     def test_basic_functionality(self):
         document = create_document(body='''
         self.assertEqual(document.excerpt, '<p><a href="http://mango.io/">Mango</a>.</p>')
 
 
-class FileNameTestCase(unittest.TestCase):
+class FileNameTests(unittest.TestCase):
 
     def setUp(self):
         mango.settings.UNIX_DOCUMENTS_PATH = os.path.join(mango.settings.MANGO_PATH, 'examples')
         self.assertEqual(create_document('test').urls['canon']['rel'], '/test/')
 
 
-class TimeZoneTestCase(unittest.TestCase):
+class TimeZoneTests(unittest.TestCase):
 
     def setUp(self):
         settings.TIME_ZONE = 'Pacific/Auckland'
                 tz.localize(datetime.datetime(2010, 9, 29, 1, 30)))
 
 
-class MetaListsTestCase(unittest.TestCase):
+class MetaListsTests(unittest.TestCase):
 
     def test_in_list(self):
         mango.settings.META_LISTS = ('tags',)
         self.assertEqual(document.meta['tags'], [u'Linux', u'Mac OS X', u'Windows'])
 
 
-class TemplateFilterTestCase(unittest.TestCase):
+class TemplateFilterTests(unittest.TestCase):
 
     def test_h1(self):
         self.assertEqual(mango_extras.h1(' Mango '), 'Mango\n=====')
         self.assertEqual(mango_extras.month(12), 'December')
 
 
-class VideoTestCase(unittest.TestCase):
+class VideoTests(unittest.TestCase):
 
     def test_youtube(self):
         document = create_document(context={'body': '[Soda Pop Stop](http://www.youtube.com/watch?v=gPbh6Ru7VVM)'})
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.