from hamcrest import *
import pytest

@pytest.mark.xfail
def test_should_get_correct_embedding():
    consumer = REmbedConsumer()
    embedding = consumer.embed('https://twitter.com/BarackObama/status/266031293945503744')
    assert_that(embedding, contains_string('Four more years.'))
from rembed import consumer

from hamcrest import *
import pytest

@pytest.mark.xfail
def test_should_get_correct_embedding():
    embedding = consumer.embed('https://twitter.com/BarackObama/status/266031293945503744')
    assert_that(embedding, contains_string('Four more years.'))
Fix import in integration test
Fix import in integration test

+ from rembed import consumer
+ 
  from hamcrest import *
  import pytest
  
  @pytest.mark.xfail
  def test_should_get_correct_embedding():
-     consumer = REmbedConsumer()
      embedding = consumer.embed('https://twitter.com/BarackObama/status/266031293945503744')
      assert_that(embedding, contains_string('Four more years.'))
Fix import in integration test
## Code Before:
from hamcrest import *
import pytest

@pytest.mark.xfail
def test_should_get_correct_embedding():
    consumer = REmbedConsumer()
    embedding = consumer.embed('https://twitter.com/BarackObama/status/266031293945503744')
    assert_that(embedding, contains_string('Four more years.'))
## Instruction:
Fix import in integration test
## Code After:
from rembed import consumer

from hamcrest import *
import pytest

@pytest.mark.xfail
def test_should_get_correct_embedding():
    embedding = consumer.embed('https://twitter.com/BarackObama/status/266031293945503744')
    assert_that(embedding, contains_string('Four more years.'))