# HG changeset patch # User Pierre-Yves David # Date 1367231399 -7200 # Node ID 8ef2d90512b575d63082b72f478835fd0ddf57a0 # Parent 9d30719142bf1fb960c1d57ef966744e1619b1ff [test/notification] merge related test classe They have no reason to be distinct. diff -r 9d30719142bf -r 8ef2d90512b5 sobjects/test/unittest_notification.py --- a/sobjects/test/unittest_notification.py Mon Apr 29 11:43:36 2013 +0200 +++ b/sobjects/test/unittest_notification.py Mon Apr 29 12:29:59 2013 +0200 @@ -60,9 +60,9 @@ msgid1 = construct_message_id('testapp', eid, 12) self.assertNotEqual(msgid1, '<@testapp.%s>' % gethostname()) +class NotificationTC(CubicWebTC): -class RecipientsFinderTC(CubicWebTC): - def test(self): + def test_recipients_finder(self): urset = self.execute('CWUser X WHERE X login "admin"') self.execute('INSERT EmailAddress X: X address "admin@logilab.fr", U primary_email X ' 'WHERE U eid %(x)s', {'x': urset[0][0]}) @@ -79,9 +79,6 @@ self.set_option('default-dest-addrs', 'abcd@logilab.fr, efgh@logilab.fr') self.assertEqual(finder.recipients(), [('abcd@logilab.fr', 'en'), ('efgh@logilab.fr', 'en')]) - -class StatusChangeViewsTC(CubicWebTC): - def test_status_change_view(self): req = self.request() u = self.create_user(req, 'toto')