changeset 3777:e6de0a13519c

test_package: fixed broken testAllCreate
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sun, 22 Jun 2008 19:19:38 +0200
parents e458af23d64d
children 7ce6ee352251 441a4136db05
files MoinMoin/_tests/test_packages.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/_tests/test_packages.py	Sun Jun 22 17:27:51 2008 +0200
+++ b/MoinMoin/_tests/test_packages.py	Sun Jun 22 19:19:38 2008 +0200
@@ -103,7 +103,7 @@
                                 include_underlay=False,
                                 filter=lambda name: not wikiutil.isSystemPage(self.request, name)),
                                 temp)
-        if package:
+        if not package:
             py.test.skip("No user created pages in wiki!")
         assert zipfile.is_zipfile(temp.name)