Skip to content

Tests fail #27

@mgorny

Description

@mgorny

I suppose something has changed on the service…

py27 runtests: commands[0] | python embedly/tests.py
...FF..FF..........
======================================================================
FAIL: test_get_services_retrieves_data_and_builds_regex (__main__.EmbedlyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "embedly/tests.py", line 233, in test_get_services_retrieves_data_and_builds_regex
    self.assertTrue(client.regex.match('http://yfrog.com/h22eu4j'))
AssertionError: None is not true

======================================================================
FAIL: test_multi_errors (__main__.EmbedlyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "embedly/tests.py", line 164, in test_multi_errors
    self.assertEqual(objs[1]['type'], 'error')
AssertionError: u'link' != u'error'
- link
+ error


======================================================================
FAIL: test_provider (__main__.EmbedlyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "embedly/tests.py", line 117, in test_provider
    self.assertEqual(obj['provider_url'], 'http://www.scribd.com/')
AssertionError: u'https://www.scribd.com/' != u'http://www.scribd.com/'
- https://www.scribd.com/
?     -
+ http://www.scribd.com/


======================================================================
FAIL: test_providers (__main__.EmbedlyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "embedly/tests.py", line 134, in test_providers
    self.assertEqual(objs[0]['provider_url'], 'http://www.scribd.com/')
AssertionError: u'https://www.scribd.com/' != u'http://www.scribd.com/'
- https://www.scribd.com/
?     -
+ http://www.scribd.com/


----------------------------------------------------------------------
Ran 19 tests in 4.021s

FAILED (failures=4)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions