[Zodb-checkins] CVS: Zope3/src/zope/interface/tests - test_interface.py:1.3
R. David Murray
bitz@bitdance.com
Sat, 25 Jan 2003 00:14:21 -0500
Update of /cvs-repository/Zope3/src/zope/interface/tests
In directory cvs.zope.org:/tmp/cvs-serv15651/zope/interface/tests
Modified Files:
test_interface.py
Log Message:
Use keyword instead of positional arg (and Boolean instead of 1)
to make it more obvious to someone browsing the code what is going
on when the interface 'names' method is called.
=== Zope3/src/zope/interface/tests/test_interface.py 1.2 => 1.3 ===
--- Zope3/src/zope/interface/tests/test_interface.py:1.2 Wed Dec 25 09:15:12 2002
+++ Zope3/src/zope/interface/tests/test_interface.py Sat Jan 25 00:13:47 2003
@@ -97,7 +97,7 @@
def test_names(self):
names = list(_I2.names()); names.sort()
self.assertEqual(names, ['f21', 'f22', 'f23'])
- names = list(_I2.names(1)); names.sort()
+ names = list(_I2.names(all=True)); names.sort()
self.assertEqual(names, ['a1', 'f11', 'f12', 'f21', 'f22', 'f23'])
def test_namesAndDescriptions(self):