Verified Commit 9427f8b5 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

See #297: removed unused imports

parent 639882bd
......@@ -2,8 +2,6 @@ import pytest
from django import db
from funkwhale_api.federation import models
from funkwhale_api.federation import serializers
def test_cannot_duplicate_actor(factories):
......
import arrow
import pytest
from django.urls import reverse
from django.core.paginator import Paginator
from funkwhale_api.federation import actors
from funkwhale_api.federation import keys
from funkwhale_api.federation import models
from funkwhale_api.federation import serializers
from funkwhale_api.federation import utils
......
import cryptography.exceptions
import pytest
import requests_http_signature
from funkwhale_api.federation import signing
from funkwhale_api.federation import keys
......
import datetime
import os
import pathlib
import pytest
from django.core.paginator import Paginator
from django.utils import timezone
......
import pytest
from django import forms
from django.urls import reverse
from funkwhale_api.federation import webfinger
......
from django.urls import reverse
from django.core.exceptions import ValidationError
from django.utils import timezone
from funkwhale_api.history import models
......
from django.urls import reverse
import funkwhale_api
......
......@@ -2,7 +2,6 @@ import pytest
from django.urls import reverse
from dynamic_preferences.api import serializers
def test_can_list_settings_via_api(preferences, api_client):
......
from django.urls import reverse
from funkwhale_api.instance import stats
......
from funkwhale_api.users.serializers import UserActivitySerializer
from funkwhale_api.favorites import serializers
def test_get_track_activity_url_mbid(factories):
......
......@@ -4,8 +4,6 @@ import pytest
from django.urls import reverse
from funkwhale_api.music import models
from funkwhale_api.musicbrainz import api
from funkwhale_api.music import serializers
from funkwhale_api.music import tasks
......
import json
import os
import pytest
from django.urls import reverse
......
from django.urls import reverse
from funkwhale_api.music import models
from funkwhale_api.musicbrainz import api
from funkwhale_api.music import serializers
from funkwhale_api.music import tasks
from funkwhale_api.music import lyrics as lyrics_utils
......
import os
import pytest
from funkwhale_api.providers.acoustid import get_acoustid_client
from funkwhale_api.music import tasks
DATA_DIR = os.path.dirname(os.path.abspath(__file__))
......
from django.urls import reverse
from funkwhale_api.music import models
from funkwhale_api.musicbrainz import api
from funkwhale_api.music import serializers
def test_can_import_work(factories, mocker, works):
......
from django.urls import reverse
from funkwhale_api.musicbrainz import api
def test_can_search_recording_in_musicbrainz_api(
......
import pytest
from django.urls import reverse
from django.core.exceptions import ValidationError
from django.utils import timezone
from funkwhale_api.playlists import models
from funkwhale_api.playlists import serializers
......
import json
import pytest
from django.urls import reverse
......
import pytest
from django.forms import ValidationError
def test_can_bind_import_batch_to_request(factories):
......
......@@ -6,7 +6,6 @@ from django.core.management import call_command
from django.core.management.base import CommandError
from funkwhale_api.providers.audiofile import tasks
from funkwhale_api.music import tasks as music_tasks
DATA_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), "files")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment