Skip to content

Commit

Permalink
fix minor bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
gforcada committed Jan 8, 2020
1 parent b9fd19f commit b3610b6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Add a document::
>>> browser.follow('Home')
>>> browser.follow('Page')
>>> browser.getControl(name='form.widgets.IDublinCore.title').value = u'my title'
>>> browser.getControl(name='form.widgets.IRichText.text').value = u'alert one here alert two there'
>>> browser.getControl(name='form.widgets.IRichTextBehavior.text').value = u'alert one here alert two there'
>>> browser.getControl('Save').click()

An email is generated::
Expand Down
3 changes: 0 additions & 3 deletions src/collective/contentalerts/tests/test_genericsetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ def test_controlpanel_view(self):
(self.portal, self.request),
name='stop-words-settings'
)
# Put the view into the acquisition chain
view = view.__of__(self.portal)

self.assertTrue(view())

def test_controlpanel_registered(self):
Expand Down
2 changes: 1 addition & 1 deletion src/collective/contentalerts/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def test_verify_known_type_add_interface(self):
self.request.set('entries', 'fishy')
self.request.set(
'type',
'Products.CMFCore.interfaces._content.IContentish',
'Products.CMFCore.interfaces.IContentish',
)
self._get_view()()

Expand Down

0 comments on commit b3610b6

Please sign in to comment.