def METHOD_NAME(data_fixture):
    user = data_fixture.create_user()
    workspace = data_fixture.create_workspace(user=user)
    app = data_fixture.create_database_application(workspace=workspace, name="Test 1")
    table = data_fixture.create_database_table(name="Cars", database=app)
    field = TextField.objects.create(name="Test1", table=table, order=1)
    assert field.get_parent() == table
    assert field.get_root() == workspace