SVN: zpkgtools/branches/fdrake-zconfig-branch/zpkgsetup/tests/ revise a test to demonstrate that case is preserved in an extension name

"Fred L. Drake, Jr." <[email protected]>
Newsgroups gmane.comp.web.zope.public-cvs
Message-ID <[email protected]>
Log message for revision 38172:
  revise a test to demonstrate that case is preserved in an extension name

Changed:
  U   zpkgtools/branches/fdrake-zconfig-branch/zpkgsetup/tests/input/package2/SETUP.cfg
  U   zpkgtools/branches/fdrake-zconfig-branch/zpkgsetup/tests/test_setup.py

-=-
Modified: zpkgtools/branches/fdrake-zconfig-branch/zpkgsetup/tests/input/package2/SETUP.cfg
===================================================================
--- zpkgtools/branches/fdrake-zconfig-branch/zpkgsetup/tests/input/package2/SETUP.cfg	2005-08-30 21:09:52 UTC (rev 38171)
+++ zpkgtools/branches/fdrake-zconfig-branch/zpkgsetup/tests/input/package2/SETUP.cfg	2005-08-30 21:13:31 UTC (rev 38172)
@@ -1,6 +1,6 @@
 header  public.h
 
-<extension sample>
+<extension Sample>
   source      sample.c
   depends-on  internal.h
   # Don't depend on public.h since we want to make sure things

Modified: zpkgtools/branches/fdrake-zconfig-branch/zpkgsetup/tests/test_setup.py
===================================================================
--- zpkgtools/branches/fdrake-zconfig-branch/zpkgsetup/tests/test_setup.py	2005-08-30 21:09:52 UTC (rev 38171)
+++ zpkgtools/branches/fdrake-zconfig-branch/zpkgsetup/tests/test_setup.py	2005-08-30 21:13:31 UTC (rev 38172)
@@ -60,7 +60,7 @@
         context.walk_packages("zpkgsetup/tests/input")
         exts = [ext.name for ext in context.ext_modules]
         exts.sort()
-        self.assertEqual(exts, ["foo", "package2.sample"])
+        self.assertEqual(exts, ["foo", "package2.Sample"])
         #
         # See the comments in the walk_packages() function for an
         # explanation of the limitations of the method.  The following

_______________________________________________
Zope-CVS maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zope-cvs

Zope CVS instructions: http://dev.zope.org/CVS
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.