[Zope-dev] Zope Tests: 8 OK
Summary of messages to the zope-tests list. Period Mon Sep 7 12:00:00 2009 UTC to Tue Sep 8 12:00:00 2009 UTC. There were 8 messages: 8 from Zope Tests. Tests passed OK --- Subject: OK : Zope-2.10 Python-2.4.6 : Linux From: Zope Tests Date: Mon Sep 7 20:43:52 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-September/012488.html Subject: OK : Zope-2.11 Python-2.4.6 : Linux From: Zope Tests Date: Mon Sep 7 20:45:52 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-September/012489.html Subject: OK : Zope-2.12 Python-2.4.6 : Linux From: Zope Tests Date: Mon Sep 7 20:47:52 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-September/012490.html Subject: OK : Zope-2.12 Python-2.6.2 : Linux From: Zope Tests Date: Mon Sep 7 20:49:52 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-September/012491.html Subject: OK : Zope-2.12-alltests Python-2.4.6 : Linux From: Zope Tests Date: Mon Sep 7 20:51:52 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-September/012492.html Subject: OK : Zope-2.12-alltests Python-2.6.2 : Linux From: Zope Tests Date: Mon Sep 7 20:53:53 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-September/012493.html Subject: OK : Zope-trunk Python-2.6.2 : Linux From: Zope Tests Date: Mon Sep 7 20:55:53 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-September/012494.html Subject: OK : Zope-trunk-alltests Python-2.6.2 : Linux From: Zope Tests Date: Mon Sep 7 20:57:53 EDT 2009 URL: http://mail.zope.org/pipermail/zope-tests/2009-September/012495.html ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Manuel Beta
Coming back to this ancient thread... Benji York wrote: A helper function could be written to shorten it to something like this: --- begin quote --- Contents of myfile.zcml:: configure xmlns=http://namespaces.zope.org/zope; blah blah blah /configure .. - config file_name = temp_file_helper(config) zope.configuration.xmlconfig.file(file_name) What I'd really like to do is write a Manuel plugin that will be part of testfixtures' [1] TempDirectory and would handle the following: .. topic:: some/dir/myfile.py :class: file :: class MyClass: def something(self): pass ...to write the file. --- begin quote --- Contents of myfile.zcml:: configure xmlns=http://namespaces.zope.org/zope; blah blah blah /configure .. - config file, file_name = make_a_named_temp_file() generate_a_file(fn) file.read() == config True ...and: .. topic:: some/dir/myfile.py :class: expected-file :: class MyClass: def something(self): pass ...to check it exists and matches what should be there, emitting meaningful error messages if things are wrong. Aside from looking at manuel.capture, can you give me any pointers as to what I'd need to write to make all the above happen? cheers, Chris -- Simplistix - Content Management, Batch Processing Python Consulting - http://www.simplistix.co.uk ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] writing and checking files with Manuel [PS]
Chris Withers wrote: What I'd really like to do is write a Manuel plugin that will be part of testfixtures' [1] TempDirectory and would handle the following: Oops, forgot to include the: [1] http://pypi.python.org/pypi/testfixtures .. topic:: some/dir/myfile.py :class: file :: class MyClass: def something(self): pass ...to write the file. snip Aside from looking at manuel.capture, can you give me any pointers as to what I'd need to write to make all the above happen? ...in particular, handling the case where the '::' is there as well as the case when it's not. Oh, and I guess I need to worry about dedenting the text before I write it or use it for comparison. Any ideas? cheers, Chris -- Simplistix - Content Management, Batch Processing Python Consulting - http://www.simplistix.co.uk ___ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )