~rockstar/entertainer/package-structure-apocalypse

« back to all changes in this revision

Viewing changes to entertainerlib/tests/test_lyricsdownloader.py

  • Committer: Paul Hummer
  • Date: 2009-05-10 17:36:49 UTC
  • mfrom: (360.1.3 entertainer-future)
  • Revision ID: paul@eventuallyanyway.com-20090510173649-0odjpoqifn303t46
Merged from entertainer-future

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2
1
2
'''Tests LyricsDownloader'''
2
3
# pylint: disable-msg=W0212
3
4
 
4
 
__licence__ = "GPLv2"
5
 
__copyright__ = "2008, Michael Charclo"
6
 
__author__ = "Michael Charclo <charclo.michael@gmail.com>"
7
 
 
8
 
import unittest
9
5
import os
10
6
import urllib
11
7
 
12
8
from entertainerlib.download import LyricsDownloader
 
9
from entertainerlib.tests import EntertainerTest
13
10
 
14
11
THIS_DIR = os.path.dirname(__file__)
15
12
 
16
 
class testLyricsDownloader(unittest.TestCase):
17
13
 
18
 
    def setUp(self):
19
 
        pass
 
14
class testLyricsDownloader(EntertainerTest):
20
15
 
21
16
    def testLyricsConstructor(self):
22
17
        '''testMetadataConstructor - Ensures instantiation of Lyric Downloader