Skip to content

Commit

Permalink
fix test and itignore for virtualenvs
Browse files Browse the repository at this point in the history
  • Loading branch information
loechel committed Apr 18, 2017
1 parent 0abc101 commit b19dda4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@
/share/
/src/plone.api.egg-info/
/var/
pip-selfcheck.json
2 changes: 1 addition & 1 deletion buildout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ extends =
https://raw.github.com/collective/buildout.plonetest/master/test-4.3.x.cfg
plone-4.3.x.cfg
package-name = plone.api
package-extras = [test]
package-extras = [develop, test]
test-eggs = Pillow
parts +=
omelette
Expand Down
2 changes: 1 addition & 1 deletion src/plone/api/tests/test_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ def test_read_only_mode(self):
"""Test that read_only_mode() returns False
as we have a write enabled ZODB."""
from plone.api.env import read_only_mode
self.assertEqual(read_only_mode(), False)
self.assertFalse(read_only_mode())

def test_plone_version(self):
"""Tests that plone_version() returns Plone version."""
Expand Down

0 comments on commit b19dda4

Please sign in to comment.