Skip to content
Browse files

garden

  • Loading branch information...
1 parent 40733c9 commit 20a780a517779a84825f5a04a745c602fd0e0548 @zupo zupo committed
Showing with 5 additions and 4 deletions.
  1. +0 −2 .travis.yml
  2. +1 −0 buildout.d/travis.cfg
  3. +0 −1 src/niteoweb/ipn/jvzoo/interfaces.py
  4. +4 −1 src/niteoweb/ipn/jvzoo/tests/test_doctest.py
View
2 .travis.yml
@@ -4,8 +4,6 @@ python:
install:
- make python=$( which python ) .installed.cfg
- - bin/develop checkout niteoweb.ipn.core
- - make python=$( which python ) .installed.cfg
script:
- make tests
View
1 buildout.d/travis.cfg
@@ -9,3 +9,4 @@ parts -=
omelette
instance
+auto-checkout = niteoweb.ipn.core
View
1 src/niteoweb/ipn/jvzoo/interfaces.py
@@ -31,4 +31,3 @@ class JVZooError(Exception):
class SecretKeyNotSet(JVZooError):
"""Exception thrown when secret-key for @@jvzoo is not set."""
-
View
5 src/niteoweb/ipn/jvzoo/tests/test_doctest.py
@@ -6,6 +6,9 @@
import doctest
import unittest2 as unittest
+FLAGS = doctest.REPORT_ONLY_FIRST_FAILURE | \
+ doctest.NORMALIZE_WHITESPACE | doctest.ELLIPSIS
+
def test_suite():
import niteoweb.ipn.jvzoo
@@ -19,7 +22,7 @@ def test_suite():
ztc.ZopeDocFileSuite(
'tests/control_panel.txt', package='niteoweb.ipn.jvzoo',
test_class=JvzooControlPanelTestCase,
- optionflags=doctest.REPORT_ONLY_FIRST_FAILURE | doctest.NORMALIZE_WHITESPACE | doctest.ELLIPSIS
+ optionflags=FLAGS,
),
])

0 comments on commit 20a780a

Please sign in to comment.
Something went wrong with that request. Please try again.