[kupfer] plugin.rhythmbox_support: Add doctest runner
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer] plugin.rhythmbox_support: Add doctest runner
- Date: Tue, 15 Sep 2009 17:53:24 +0000 (UTC)
commit e7767a46ad7e8e99fbedb2c31bdf0e9821a54113
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Mon Sep 14 14:07:20 2009 +0200
plugin.rhythmbox_support: Add doctest runner
kupfer/plugin/rhythmbox_support.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/plugin/rhythmbox_support.py b/kupfer/plugin/rhythmbox_support.py
index cbc5ad9..44690c4 100644
--- a/kupfer/plugin/rhythmbox_support.py
+++ b/kupfer/plugin/rhythmbox_support.py
@@ -108,3 +108,6 @@ def parse_rhythmbox_artists(songs):
sort_album_order(artists[artist])
return artists
+if __name__ == '__main__':
+ import doctest
+ doctest.testmod()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]