[Zope-CVS] 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. fdrake at gmail.com
Tue Aug 30 17:13:31 EDT 2005


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



More information about the Zope-CVS mailing list