Revision: 2111
http://gtkpod.svn.sourceforge.net/gtkpod/?rev=2111&view=rev
Author: tmzullinger
Date: 2008-08-23 18:03:52 +0000 (Sat, 23 Aug 2008)
Log Message:
-----------
Python: Whitespace cleanup of tests.py
Modified Paths:
--------------
libgpod/trunk/ChangeLog
libgpod/trunk/bindings/python/tests/tests.py
Modified: libgpod/trunk/ChangeLog
===================================================================
--- libgpod/trunk/ChangeLog 2008-08-23 18:02:42 UTC (rev 2110)
+++ libgpod/trunk/ChangeLog 2008-08-23 18:03:52 UTC (rev 2111)
@@ -15,6 +15,9 @@
pairs() methods were renamed to values() and items(),
respectively, in the Track and Photo classes.
+ * bindings/python/tests/tests.py:
+ Whitespace cleanup
+
2008-08-20 Todd Zullinger <tmzullinger at users.sourceforge.net>
* bindings/python/examples/save_photos.py
Modified: libgpod/trunk/bindings/python/tests/tests.py
===================================================================
--- libgpod/trunk/bindings/python/tests/tests.py 2008-08-23 18:02:42 UTC
(rev 2110)
+++ libgpod/trunk/bindings/python/tests/tests.py 2008-08-23 18:03:52 UTC
(rev 2111)
@@ -18,7 +18,7 @@
os.mkdir(music_dir)
for i in range(0,20):
os.mkdir(os.path.join(music_dir,"f%02d" % i))
- self.db = gpod.Database(self.mp)
+ self.db = gpod.Database(self.mp)
def tearDown(self):
shutil.rmtree(self.mp)
@@ -38,13 +38,13 @@
trackname = os.path.join(self.mp,
'iPod_Control',
'tiny.mp3')
-
+
pl = self.db.new_Playlist('my title')
self.assertEqual(len(pl),0)
t = self.db.new_Track(filename=trackname)
pl.add(t)
self.assertEqual(len(pl),1)
-
+
def testAddTrack(self):
trackname = os.path.join(self.mp,
'iPod_Control',
@@ -86,7 +86,7 @@
self.failUnless('title' in track)
def testVersion(self):
- self.assertEqual(type(gpod.version_info),
+ self.assertEqual(type(gpod.version_info),
types.TupleType)
class TestPhotoDatabase(unittest.TestCase):
@@ -139,7 +139,7 @@
def testEnumeratePhotoAlbums(self):
[photo for photo in self.db.PhotoAlbums]
-
+
def testAddPhoto(self):
photoname = os.path.join(self.mp,
'iPod_Control',
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2