ajout de fichiers (le logo glasnost) à glasnost://system. Au passage,
correction pour mettre readersSet à tout le monde.
This commit is contained in:
parent
fc070e8be2
commit
176262be8f
|
@ -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
|
||||
|
||||
|
|
|
@ -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 |
|
@ -0,0 +1,4 @@
|
|||
#language: en
|
||||
#title: Glasnost Logo
|
||||
#dataType: image/png
|
||||
|
Reference in New Issue