import pytest


@pytest.mark.django_db
def test_tinycontent_str(simple_content):
    assert "foobar" == str(simple_content)


@pytest.mark.django_db
def test_tinycontentfile_str(file_upload):
    assert "Foobar" == str(file_upload)

import pytest


@pytest.mark.django_db
def test_tinycontent_str(simple_content):
    assert "foobar" == str(simple_content)


@pytest.mark.django_db
def test_tinycontentfile_str(file_upload):
    assert "Foobar" == str(file_upload)


@pytest.mark.django_db
def test_tinycontentfile_slug(file_upload):
    assert "foobar" == file_upload.slug

Test the slug field is generated correctly
Test the slug field is generated correctly

  import pytest
  
  
  @pytest.mark.django_db
  def test_tinycontent_str(simple_content):
      assert "foobar" == str(simple_content)
  
  
  @pytest.mark.django_db
  def test_tinycontentfile_str(file_upload):
      assert "Foobar" == str(file_upload)
  
+ 
+ @pytest.mark.django_db
+ def test_tinycontentfile_slug(file_upload):
+     assert "foobar" == file_upload.slug
+ 
Test the slug field is generated correctly
## Code Before:
import pytest


@pytest.mark.django_db
def test_tinycontent_str(simple_content):
    assert "foobar" == str(simple_content)


@pytest.mark.django_db
def test_tinycontentfile_str(file_upload):
    assert "Foobar" == str(file_upload)

## Instruction:
Test the slug field is generated correctly
## Code After:
import pytest


@pytest.mark.django_db
def test_tinycontent_str(simple_content):
    assert "foobar" == str(simple_content)


@pytest.mark.django_db
def test_tinycontentfile_str(file_upload):
    assert "Foobar" == str(file_upload)


@pytest.mark.django_db
def test_tinycontentfile_slug(file_upload):
    assert "foobar" == file_upload.slug
