ajout de fichiers (le logo glasnost) à glasnost://system. Au passage,

correction pour mettre readersSet à tout le monde.
This commit is contained in:
fpeters 2003-08-31 23:11:34 +00:00
parent fc070e8be2
commit 176262be8f
4 changed files with 10 additions and 0 deletions

View File

@ -85,6 +85,7 @@ class BuildCase01_articlesFromFiles(unittest.TestCase):
raise 'Unknown slot: %s (in articles/%s)' % (key, f)
setattr(article, key, value)
article.body = fd.read()
article.readersSet = ['glasnost://localhost/groups/1']
articleId = articlesProxy.addObject(article)
pageNames[f] = articleId

View File

@ -112,6 +112,11 @@ class Application(applications.Application):
import articles
testsRunner.run(articles.buildSuite)
print 'Generating uploadfiles...'
import uploadfiles
testsRunner.run(uploadfiles.buildSuite)
def getUserPassword(self):
return context.getVar('userLogin')

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

@ -0,0 +1,4 @@
#language: en
#title: Glasnost Logo
#dataType: image/png