Update of /cvsroot/happydoc/HappyDoc3/happydoclib
In directory sc8-pr-cvs1:/tmp/cvs-serv26604/happydoclib
Modified Files:
test_scanner.py
Log Message:
Verify that classes are making it into the package tree.
Index: test_scanner.py
===================================================================
RCS file: /cvsroot/happydoc/HappyDoc3/happydoclib/test_scanner.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** test_scanner.py 29 Dec 2002 18:35:14 -0000 1.10
--- test_scanner.py 1 Jan 2003 13:49:11 -0000 1.11
***************
*** 127,130 ****
--- 127,144 ----
#
+ # Try for class in one.py
+ #
+ try:
+ class_one = module_one['One']
+ except KeyError:
+ self.fail('Could not get One')
+ else:
+ #
+ # Make sure of the mimetype
+ #
+ mimetype = class_one.getMimeType()
+ self.failUnlessEqual(mimetype, ('application/x-class', None))
+
+ #
# Try for README.txt
#
|