Skip to content

Commit

Permalink
Merge news-tests-names-7703
Browse files Browse the repository at this point in the history
Author: eeshangarg
Reviewer: adiroiban, exarkun
Fixes: twisted#7703

Rename all of the test case classes in Twisted News to conform to the
recently documented test case class naming convention.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@43505 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
  • Loading branch information
exarkun committed Nov 26, 2014
1 parent c6bba4f commit a7a7518
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion twisted/news/test/test_news.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
10:56pm up 4 days, 4:42, 1 user, load average: 0.08, 0.08, 0.12
""" % (MESSAGE_ID)

class NewsTestCase(unittest.TestCase):
class NewsTests(unittest.TestCase):
def setUp(self):
self.backend = database.NewsShelf(None, 'news2.db')
self.backend.addGroup('alt.test.nntp', 'y')
Expand Down
2 changes: 1 addition & 1 deletion twisted/news/test/test_nntp.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def getArticleFailed(self, error):
raise AssertionError("fetchArticle() failed: %s" % (error,))


class NNTPTestCase(unittest.TestCase):
class NNTPTests(unittest.TestCase):
def setUp(self):
self.server = nntp.NNTPServer()
self.server.factory = self
Expand Down
Empty file added twisted/news/topfiles/7703.misc
Empty file.

0 comments on commit a7a7518

Please sign in to comment.