Skip to content

Commit

Permalink
Update tests based on publication changes
Browse files Browse the repository at this point in the history
  • Loading branch information
David Davis authored and daviddavis committed Apr 29, 2019
1 parent 811e80c commit 0971bd8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pulp_certguard/tests/functional/api/test_certguard.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
download_content_unit,
gen_distribution,
gen_repo,
publish,
sync,
)
from pulp_certguard.tests.functional.constants import (
Expand All @@ -21,6 +20,7 @@
FILE_PUBLISHER_PATH
)
from pulp_certguard.tests.functional.utils import (
create_file_publication,
gen_file_publisher,
gen_file_remote,
get_file_content_paths
Expand Down Expand Up @@ -86,7 +86,7 @@ def setUpClass(cls):
)

# 6. Create a publication
cls.publication = publish(cfg, cls.publisher, cls.repo)
cls.publication = create_file_publication(cfg, cls.repo, publisher=cls.publisher)
cls.teardown_cleanups.append(
(cls.client.delete, cls.publication['_href'])
)
Expand Down
2 changes: 1 addition & 1 deletion pulp_certguard/tests/functional/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Utilities for tests for the certguard plugin."""
from pulp_file.tests.functional.utils import ( # noqa:F401
gen_file_publisher, gen_file_remote, get_file_content_paths
create_file_publication, gen_file_publisher, gen_file_remote, get_file_content_paths
)

0 comments on commit 0971bd8

Please sign in to comment.