Changeset 3043 in products
- Timestamp:
- Nov 19, 2010 11:30:54 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.analytics/trunk/quintagroup/analytics/tests.py
r3042 r3043 9 9 10 10 from Products.PloneTestCase import PloneTestCase as ptc 11 from Products.PloneTestCase.version import PLONE 3311 from Products.PloneTestCase.version import PLONE40 12 12 from Products.PloneTestCase import setup as ptc_setup 13 13 from Products.PloneTestCase.layer import PloneSite … … 211 211 """ This test verifies creation of chart image tag.""" 212 212 plone33chart_tag = \ 213 """<imgsrc="http://chart.apis.google.com/chart?chxt=y& 214 chds=0,57&chd=t:19.0,18.0,17.0,16.0,15.0,14.0,13.0, 215 12.0,11.0,10.0|19.0,18.0,17.0,16.0,15.0,14.0,13.0,12.0, 216 11.0,10.0|19.0,18.0,17.0,16.0,15.0,14.0,13.0,12.0,11.0, 217 10.0|0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0|0.0,0.0, 218 0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0&chxr=0,0,57& 219 chco=669933,cc9966,993300,ff6633,e8e4e3,a9a486,dcb57e, 220 ffcc99,996633,333300,00ff00&chl=user9|user8| 221 user7|user6|user5|user4|user3|user2|user1|user0& 222 chbh=a,10,0&chs=800x375&cht=bvs& 223 chtt=Content+ownership+by+type&chdl=Folder| 224 Document|Event|Large+Plone+Folder|Topic&chdlp=b"/>""" 213 """<imgsrc="http://chart.apis.google.com/chart?chxt=y&chds=0, 214 57&chd=t:19.0,18.0,17.0,16.0,15.0,14.0,13.0,12.0,11.0, 215 10.0|19.0,18.0,17.0,16.0,15.0,14.0,13.0,12.0,11.0,10.0| 216 19.0,18.0,17.0,16.0,15.0,14.0,13.0,12.0,11.0,10.0|0.0, 217 0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0|0.0,0.0,0.0,0.0, 218 0.0,0.0,0.0,0.0,0.0,0.0&chxr=0,0,57&chco=669933,cc9966, 219 993300,ff6633,e8e4e3,a9a486,dcb57e,ffcc99,996633,333300,00ff00& 220 chl=user9|user8|user7|user6|user5|user4|user3|user2|user1| 221 user0&chbh=a,10,0&chs=800x375&cht=bvs& 222 chtt=Content+ownership+by+type&chdl=Folder|Document|Event 223 |Large+Plone+Folder|Topic&chdlp=b"/>""" 225 224 plone4chart_tag = \ 226 225 """<img src="http://chart.apis.google.com/chart?chxt=y& … … 235 234 chtt=Content+ownership+by+type&chdl=Folder|Document| 236 235 Event|Topic&chdlp=b" />""" 237 chart_tag = PLONE33 and plone33chart_tag or plone4chart_tag 236 chart_tag = plone4chart_tag 237 if not PLONE40: 238 chart_tag = plone33chart_tag 238 239 239 240 self.loginAsPortalOwner() … … 358 359 No+workflow&chdlp=b"/>""" 359 360 plone4chart_tag = \ 360 """<img src="http://chart.apis.google.com/chart?chxt=y& 361 chds=0,57&chd=t:19.0,18.0,17.0,16.0,15.0,14.0, 362 13.0,12.0,11.0,10.0|19.0,18.0,17.0,16.0,15.0,14.0,13.0, 363 12.0,11.0,10.0|19.0,18.0,17.0,16.0,15.0,14.0,13.0,12.0, 364 11.0,10.0|0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0& 365 chxr=0,0,57&chco=669933,cc9966,993300,ff6633,e8e4e3, 366 a9a486,dcb57e,ffcc99,996633,333300,00ff00&chl=user9| 367 user8|user7|user6|user5|user4|user3|user2|user1|user0& 361 """<imgsrc="http://chart.apis.google.com/chart?chxt=y& 362 chds=0,159&chd=t:156.0,145.0,145.0,0.0|3.0,1.0,0.0, 363 3.0|0.0,0.0,0.0,0.0&chxr=0,0,159&chco=669933, 364 cc9966,993300,ff6633,e8e4e3,a9a486,dcb57e,ffcc99,996633, 365 333300,00ff00&chl=Folder|Document|Event|Topic& 368 366 chbh=a,10,0&chs=800x375&cht=bvs& 369 chtt=Content+ownership+by+type&chdl=Folder|Document| 370 Event|Topic&chdlp=b" />""" 371 chart_tag = PLONE33 and plone33chart_tag or plone4chart_tag 367 chtt=Content+type+by+state&chdl=private|published| 368 No+workflow&chdlp=b"/>""" 369 370 chart_tag = plone4chart_tag 371 if not PLONE40: 372 chart_tag = plone33chart_tag 372 373 373 374 self.loginAsPortalOwner()
Note: See TracChangeset
for help on using the changeset viewer.