diff --git a/weboob/applications/smtp/smtp.py b/weboob/applications/smtp/smtp.py index 708b8b8341ee69ec3afbd496711afd13bc508581..2ce8c7003447bbd5c6d2da554bfa5c85cba43027 100644 --- a/weboob/applications/smtp/smtp.py +++ b/weboob/applications/smtp/smtp.py @@ -97,8 +97,8 @@ class AppSmtp(ReplApplication): 'and send an email for each message, and post a reply to a message on a website.' SHORT_DESCRIPTION = "daemon to send and check messages" CONFIG = {'interval': 300, - 'domain': 'weboob.example.org', - 'recipient': 'weboob@example.org', + 'domain': 'woob.example.org', + 'recipient': 'woob@example.org', 'smtp': 'localhost', 'pipe': '', 'html': 0} diff --git a/weboob/browser/tests/url.py b/weboob/browser/tests/url.py index fcd60f09109c3a0a8405851c11242724c35ab8cc..79249a1af345dc096ff5f8f3d817d6fff4bc9a35 100644 --- a/weboob/browser/tests/url.py +++ b/weboob/browser/tests/url.py @@ -38,7 +38,7 @@ class MyMockBrowser(PagesBrowser): # URL used by method match urlNotRegex = URL("http://test.org/", "http://test2.org/") - urlRegex = URL("http://test.org/", "http://weboob2.org/") + urlRegex = URL("http://test.org/", "http://woob2.org/") urlRegWithoutHttp = URL("news") urlNotRegWithoutHttp = URL("youtube") @@ -85,7 +85,7 @@ def test_match_url_pasregex_baseurl(self): # Check that true is returned when one of the defined urls is a regex # for the given url def test_match_url_regex_baseurl(self): - res = self.myBrowser.urlRegex.match("http://weboob2.org/news") + res = self.myBrowser.urlRegex.match("http://woob2.org/news") self.assertTrue(res) # Successful test with relatives url @@ -108,15 +108,15 @@ def test_build_nominal_case(self): # Checks that build returns the right url when it needs to add # identifiers and values of some parameters def test_build_urlParams_OK(self): - res = self.myBrowser.urlParams.build(id=2, name="weboob") - self.assertEquals(res, "http://test.com/?id=2&name=weboob") + res = self.myBrowser.urlParams.build(id=2, name="woob") + self.assertEquals(res, "http://test.com/?id=2&name=woob") # Checks that build returns the right url when it needs to add # identifiers and values of some parameters. # The same parameters can be in multiple patterns. def test_build_urlSameParams_OK(self): - res = self.myBrowser.urlSameParams.build(id=2, name="weboob") - self.assertEquals(res, "http://test.com?id=2&name=weboob") + res = self.myBrowser.urlSameParams.build(id=2, name="woob") + self.assertEquals(res, "http://test.com?id=2&name=woob") # Checks that an exception is raised when a parameter is missing # (here, the parameter name) @@ -128,7 +128,7 @@ def test_build_urlParams_KO_missedparams(self): # added to the build function (here, the parameter title) def test_build_urlParams_KO_moreparams(self): self.assertRaises(UrlNotResolvable, self.myBrowser.urlParams.build, - id=2, name="weboob", title="test") + id=2, name="woob", title="test") # Check that an assert is sent if both klass is none def test_ishere_klass_none(self):