Skip to content

Commit

Permalink
Improved the test so that issue #12 shows up.
Browse files Browse the repository at this point in the history
  • Loading branch information
reinout committed Sep 18, 2015
1 parent 68ba0d0 commit 53efa5c
Showing 1 changed file with 14 additions and 24 deletions.
38 changes: 14 additions & 24 deletions nensskel/smoketest.rst
Expand Up @@ -113,14 +113,12 @@ The python library:
Creating directory .../aaa/bin'.
...
Generated script .../aaa/bin/buildout...
>>> output = system('bin/buildout -t 1') # '-t 1' is the socket timeout...
>>> if 'Traceback' in output:
... print output
... else:
... print "succeeded"
succeeded
>>> 'sphinx' in os.listdir('bin') # One of the last being installed
True
>>> print 'start', system('bin/buildout') #doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
start...
Installing sphinx.
...

(We test for sphinx as that's the last part being installed).

The lizard app:

Expand All @@ -130,14 +128,10 @@ The lizard app:
Creating directory .../li-zard/bin'.
...
Generated script .../li-zard/bin/buildout...
>>> output = system('bin/buildout -t 1') # '-t 1' is the socket timeout...
>>> if 'Traceback' in output:
... print output
... else:
... print "succeeded"
succeeded
>>> 'sphinx' in os.listdir('bin') # One of the last being installed
True
>>> print 'start', system('bin/buildout') #doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
start...
Installing sphinx.
...

The lizard site:

Expand All @@ -148,11 +142,7 @@ The lizard site:
Creating directory .../nieuwegein/bin'.
...
Generated script .../nieuwegein/bin/buildout...
>>> output = system('bin/buildout -t 1') # '-t 1' is the socket timeout...
>>> if 'Traceback' in output:
... print output
... else:
... print "succeeded"
succeeded
>>> 'sphinx' in os.listdir('bin') # One of the last being installed
True
>>> print 'start', system('bin/buildout') #doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
start...
Installing sphinx.
...

0 comments on commit 53efa5c

Please sign in to comment.