Skip to content

Commit

Permalink
Reformat with black
Browse files Browse the repository at this point in the history
[noissue]
  • Loading branch information
dralley committed Mar 25, 2024
1 parent 7456946 commit 59c8d25
Show file tree
Hide file tree
Showing 23 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions .ci/scripts/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
But some pulp paths start with curly brackets e.g. {artifact_href}
This script modifies drf-spectacular schema validation to accept slashes and curly brackets.
"""

import json
from drf_spectacular.validation import JSON_SCHEMA_SPEC_PATH

Expand Down
1 change: 1 addition & 0 deletions pulp_rpm/tests/functional/api/test_advisory_conflict.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests to test advisory conflict resolution functionality."""

from pulp_rpm.tests.functional.constants import (
RPM_ADVISORY_DIFFERENT_PKGLIST_URL,
RPM_ADVISORY_TEST_ID,
Expand Down
1 change: 1 addition & 0 deletions pulp_rpm/tests/functional/api/test_advisory_upload.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests that perform actions over advisory content unit upload."""

import pytest
import os

Expand Down
1 change: 1 addition & 0 deletions pulp_rpm/tests/functional/api/test_character_encoding.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for Pulp's characters encoding."""

import uuid

import pytest
Expand Down
1 change: 1 addition & 0 deletions pulp_rpm/tests/functional/api/test_consume_content.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Verify whether package manager, yum/dnf, can consume content from Pulp."""

import subprocess
import itertools

Expand Down
1 change: 1 addition & 0 deletions pulp_rpm/tests/functional/api/test_copy.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests that sync rpm plugin repositories."""

import pytest

from pulp_smash.pulp3.utils import (
Expand Down
1 change: 1 addition & 0 deletions pulp_rpm/tests/functional/api/test_crud_content_unit.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests that perform actions over content unit."""

from urllib.parse import urljoin

import pytest
Expand Down
1 change: 1 addition & 0 deletions pulp_rpm/tests/functional/api/test_crud_remotes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests that CRUD rpm remotes."""

import pytest

from random import choice
Expand Down
1 change: 1 addition & 0 deletions pulp_rpm/tests/functional/api/test_distribution_tree.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests distribution trees."""

import pytest

from pulp_rpm.tests.functional.constants import (
Expand Down
1 change: 1 addition & 0 deletions pulp_rpm/tests/functional/api/test_download_content.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests that verify download of content served by Pulp."""

import hashlib
from random import choice
from urllib.parse import urljoin
Expand Down
1 change: 1 addition & 0 deletions pulp_rpm/tests/functional/api/test_download_policies.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for Pulp`s download policies."""

import pytest

from pulp_rpm.tests.functional.constants import (
Expand Down
1 change: 1 addition & 0 deletions pulp_rpm/tests/functional/api/test_fips_workflow.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests that create/sync/distribute/publish MANY rpm plugin repositories."""

import os
import re

Expand Down
1 change: 1 addition & 0 deletions pulp_rpm/tests/functional/api/test_publish.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests that publish rpm plugin repositories."""

import os
import pytest

Expand Down
1 change: 1 addition & 0 deletions pulp_rpm/tests/functional/api/test_pulp_to_pulp.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests that verify download of content served by Pulp."""

import pytest

from pulp_rpm.tests.functional.constants import DOWNLOAD_POLICIES
Expand Down
1 change: 1 addition & 0 deletions pulp_rpm/tests/functional/api/test_pulpimport.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
NOTE: assumes ALLOWED_EXPORT_PATHS and ALLOWED_IMPORT_PATHS settings contain "/tmp" - all tests
will fail if this is not the case.
"""

import uuid
import pytest

Expand Down
1 change: 1 addition & 0 deletions pulp_rpm/tests/functional/api/test_retention_policy.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for the retention policy feature of repositories."""

import pytest

from collections import defaultdict
Expand Down
1 change: 1 addition & 0 deletions pulp_rpm/tests/functional/api/test_upload.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests that perform actions over content unit."""

import os
from tempfile import NamedTemporaryFile

Expand Down
1 change: 1 addition & 0 deletions pulp_rpm/tests/functional/constants.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Constants for Pulp RPM plugin tests."""

# flake8: noqa

from urllib.parse import urljoin
Expand Down
1 change: 1 addition & 0 deletions pulp_rpm/tests/functional/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Utilities for tests for the rpm plugin."""

import gzip
import os
import subprocess
Expand Down
1 change: 1 addition & 0 deletions pulp_rpm/tests/performance/test_pulp_to_pulp.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests that verify download of content served by Pulp."""

import pytest

from pulp_rpm.tests.functional.constants import (
Expand Down
1 change: 1 addition & 0 deletions pulp_rpm/tests/performance/test_sync.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests that sync rpm plugin repositories."""

import pytest
import os
from datetime import datetime
Expand Down
1 change: 1 addition & 0 deletions pulp_rpm/tests/upgrade/post/test_publish.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests that publish rpm plugin repositories."""

from random import choice


Expand Down
1 change: 1 addition & 0 deletions pulp_rpm/tests/upgrade/pre/test_publish.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests that publish rpm plugin repositories."""

from random import choice


Expand Down

0 comments on commit 59c8d25

Please sign in to comment.