コード例 #1
0
 def test_method_creation(self):
     """Tests the creation of a method"""
     method = 'sort_alphanumerically_remove_leading_articles'
     bsm = BibSortWasher(method)
     self.assertEqual(bsm.get_washer(), method)
コード例 #2
0
 def test_method_creation(self):
     """Tests the creation of a method"""
     method = 'sort_alphanumerically_remove_leading_articles'
     bsm = BibSortWasher(method)
     self.assertEqual(bsm.get_washer(), method)