Skip to content

Commit

Permalink
Merge pull request #64 from plone/petschki-fix-test
Browse files Browse the repository at this point in the history
Fix test for changed label in `Products.CMFEditions`
  • Loading branch information
petschki authored Jul 5, 2022
2 parents 38b2eaa + 8d5d97a commit 9609525
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 71 deletions.
2 changes: 2 additions & 0 deletions news/64.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fix test for changed label in `Products.CMFEditions`.
[petschki]
4 changes: 2 additions & 2 deletions plone/app/versioningbehavior/tests/test_functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ def _assert_versions_history_form(self, version_id, obj_id, title, text):
self.browser.open(
'%s/%s/versions_history_form?version_id=%s'
% (self.portal_url, obj_id, version_id))
self.assertIn('Working Copy', self.browser.contents)
self.assertIn('Current revision', self.browser.contents)

if version_id == 0:
self.assertIn(
'/%s/versions_history_form?version_id=%s' % (obj_id, version_id),
self.browser.contents)
self.assertIn('Working Copy', self.browser.contents)
self.assertIn('Current revision', self.browser.contents)
self.assertIn('Revert to this revision', self.browser.contents)
self.assertIn(
'/%s/@@history?one' % obj_id, self.browser.contents)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import os


version = '1.4.7.dev0'
version = '2.0.0.dev0'

tests_require = [
'plone.app.testing',
Expand Down
39 changes: 0 additions & 39 deletions test-plone-4.1.x-dexterity-1.cfg

This file was deleted.

4 changes: 0 additions & 4 deletions test-plone-4.1.x-dexterity-2.cfg

This file was deleted.

25 changes: 0 additions & 25 deletions test-plone-5.cfg

This file was deleted.

0 comments on commit 9609525

Please sign in to comment.