fix tests

This commit is contained in:
Romain Bignon 2011-06-26 23:20:04 +02:00
commit 22bcc77058
3 changed files with 3 additions and 8 deletions

View file

@ -17,8 +17,6 @@
# You should have received a copy of the GNU Affero General Public License
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
from urllib import quote_plus
from weboob.tools.browser import BaseBrowser
from weboob.tools.browser.decorators import id2url

View file

@ -18,13 +18,10 @@
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
import datetime
import urllib
import re
from weboob.tools.capabilities.thumbnail import Thumbnail
from weboob.capabilities.base import NotAvailable
from weboob.tools.misc import html2text
from weboob.tools.browser import BasePage, BrokenPageError
from weboob.tools.browser import BasePage
from .video import PluzzVideo

View file

@ -21,9 +21,9 @@
from weboob.tools.test import BackendTest
class PluzzTest(BackendTest):
BACKEND = 'pluzz'
BACKEND = 'francetelevisions'
def test_pluzz(self):
def test_francetelevisions(self):
l = list(self.backend.iter_search_results('jt'))
self.assertTrue(len(l) > 0)
v = l[0]