;ò G"Ü=c @ s« d k l Z l Z d k l Z l Z l Z d k l Z d k l Z d k l Z d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d „ Z d „ Z d S( ( s makeSuites TestSuite( s SquishdotBases PlainBases Demo2Base( s manage_addSquishdot( s FieldIndex( s TextIndexs SquishSiteTestsc B s} t Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( Nc C s d S( s/ Test Squishdot Site creation using Fancy Demo 1N( ( s self( ( sG /mnt/gmirror/ports/www/squishdot/work/Squishdot/tests/testSquishSite.pys testCreation1 s c C s h d t <d t <d t <d t <d t <d t <d t <} xa | i i ƒ D]P } | i ƒ } | i | i | ƒ d | ƒ | i t | | | ƒ ƒ | | =qU W| i | d | ƒ d S( s$ Test the correct indexes are createds meta_types authors textToSearchs subjects revieweds dates titles Unexpected index:s Indexes not found:N( s FieldIndexs TextIndexs mappings selfs Sites index_objectss indexs getIds ids failUnlesss has_keys isinstances failIf( s selfs indexs mappings id( ( sG /mnt/gmirror/ports/www/squishdot/work/Squishdot/tests/testSquishSite.pys testIndexes s E c C sU | i i ƒ } | i ƒ d d d d d d d d g } | i ƒ | i | | ƒ d S( s- Test the correct metadata columns are createds summarys date_posteds ids titles reply_cnts authors thread_paths dateN( s selfs Sites schemas actuals sorts expecteds assertEqual( s selfs expecteds actual( ( sG /mnt/gmirror/ports/www/squishdot/work/Squishdot/tests/testSquishSite.pys testMetadata" s c C s t | i d d d ƒd S( s/ Test Squishdot Site creation using Fancy Demo 2s testSquish2s default_docs demo2N( s manage_addSquishdots selfs Folder( s self( ( sG /mnt/gmirror/ports/www/squishdot/work/Squishdot/tests/testSquishSite.pys testCreation2* s c C s t | i d d d ƒd S( s- Test Squishdot Site creation using Plain Demos testSquish3s default_docs plainN( s manage_addSquishdots selfs Folder( s self( ( sG /mnt/gmirror/ports/www/squishdot/work/Squishdot/tests/testSquishSite.pys testCreation3. s c C sA | i i d g d ƒ } | d j p | d j p t | ‚ d S( s? Test Render Method doesn't wrap in when doing STXs s STXs/
test
stest
N( s selfs Sites renders htmls AssertionError( s selfs html( ( sG /mnt/gmirror/ports/www/squishdot/work/Squishdot/tests/testSquishSite.pys testRender27 s c C s | i i d d d d ƒ d S( s) test mange_edit works when called not TTWi s articlesi N( s selfs Sites manage_edit( s self( ( sG /mnt/gmirror/ports/www/squishdot/work/Squishdot/tests/testSquishSite.pys testManageEdit<