Skip to content

Commit

Permalink
Moving using_plugin tests to pulp_file
Browse files Browse the repository at this point in the history
Required PR: pulp/pulp_file#685

[noissue]
  • Loading branch information
bmbouter committed Apr 18, 2022
1 parent 2b38d74 commit 603404d
Show file tree
Hide file tree
Showing 56 changed files with 7 additions and 7,680 deletions.
2 changes: 0 additions & 2 deletions MANIFEST.in
Expand Up @@ -6,8 +6,6 @@ include CHANGES.rst
include COMMITMENT
include functest_requirements.txt
include unittest_requirements.txt
recursive-include pulpcore/tests/functional/api/using_plugin/artifacts *
recursive-exclude pulpcore/tests/functional/fixtures/ *
include CODE_OF_CONDUCT.md
include CONTRIBUTING.md
include COPYRIGHT
Expand Down
2 changes: 0 additions & 2 deletions pulpcore/tests/functional/api/test_api_docs.py
Expand Up @@ -5,8 +5,6 @@
from pulp_smash.pulp3.constants import API_DOCS_PATH
from requests.exceptions import HTTPError

from pulpcore.tests.functional.utils import set_up_module as setUpModule # noqa:F401


class ApiDocsTestCase(unittest.TestCase):
"""Test whether API auto generated docs are available.
Expand Down
2 changes: 0 additions & 2 deletions pulpcore/tests/functional/api/test_auth.py
Expand Up @@ -10,8 +10,6 @@
from requests.auth import HTTPBasicAuth
from requests.exceptions import HTTPError

from pulpcore.tests.functional.utils import set_up_module as setUpModule # noqa:F401


class AuthTestCase(unittest.TestCase):
"""Test Pulp3 Authentication."""
Expand Down
6 changes: 2 additions & 4 deletions pulpcore/tests/functional/api/test_crd_artifacts.py
Expand Up @@ -10,10 +10,8 @@
from pulp_smash.pulp3.constants import ARTIFACTS_PATH
from requests.exceptions import HTTPError

# This import is an exception, we use a file url but we are not actually using
# any plugin
from pulpcore.tests.functional.api.using_plugin.constants import FILE_URL
from pulpcore.tests.functional.utils import set_up_module as setUpModule # noqa:F401

FILE_URL = "https://fixtures.pulpproject.org/file/1.iso"


class ArtifactTestCase(unittest.TestCase):
Expand Down
2 changes: 1 addition & 1 deletion pulpcore/tests/functional/api/test_status.py
Expand Up @@ -9,7 +9,7 @@
from requests.exceptions import HTTPError

from pulpcore.tests.functional.api.utils import get_redis_status
from pulpcore.tests.functional.utils import set_up_module as setUpModule # noqa:F401


STATUS = {
"$schema": "http://json-schema.org/schema#",
Expand Down
12 changes: 4 additions & 8 deletions pulpcore/tests/functional/api/test_upload.py
Expand Up @@ -10,14 +10,10 @@
from pulp_smash.pulp3.constants import UPLOAD_PATH
from pulp_smash.utils import http_get

from pulpcore.tests.functional.api.using_plugin.constants import (
FILE_CHUNKED_PART_1_URL,
FILE_CHUNKED_PART_2_URL,
FILE_TO_BE_CHUNKED_URL,
)
from pulpcore.tests.functional.api.using_plugin.utils import ( # noqa:F401
set_up_module as setUpModule,
)

FILE_CHUNKED_PART_1_URL = "https://fixtures.pulpproject.org/file-chunked/chunkaa"
FILE_CHUNKED_PART_2_URL = "https://fixtures.pulpproject.org/file-chunked/chunkab"
FILE_TO_BE_CHUNKED_URL = "https://fixtures.pulpproject.org/file-chunked/1.iso"


class ChunkedUploadTestCase(unittest.TestCase):
Expand Down
1 change: 0 additions & 1 deletion pulpcore/tests/functional/api/test_workers.py
Expand Up @@ -9,7 +9,6 @@
from pulp_smash.pulp3.constants import WORKER_PATH
from requests.exceptions import HTTPError

from pulpcore.tests.functional.utils import set_up_module as setUpModule # noqa:F401
from pulpcore.tests.functional.utils import skip_if


Expand Down
1 change: 0 additions & 1 deletion pulpcore/tests/functional/api/using_plugin/__init__.py

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

46 changes: 0 additions & 46 deletions pulpcore/tests/functional/api/using_plugin/artifacts/x509/genca.sh

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 603404d

Please sign in to comment.