Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RDR] Remove redundant argument from conftest.py and dr_workload.py #10655

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ocs_ci/ocs/dr/dr_workload.py
Original file line number Diff line number Diff line change
Expand Up @@ -1237,7 +1237,7 @@ def create_namespace(self):

run_cmd(f"oc create namespace {self.workload_namespace}")

def delete_workload(self, force=False):
def delete_workload(self):
"""
Delete Discovered Apps

Expand Down
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6873,7 +6873,7 @@ def factory(
def teardown():
for instance in instances:
try:
instance.delete_workload(force=True)
instance.delete_workload()
except ResourceNotDeleted:
raise ResourceNotDeleted("Workload deletion was unsuccessful")

Expand Down Expand Up @@ -6941,7 +6941,7 @@ def factory(kubeobject=1):
def teardown():
for instance in instances:
try:
instance.delete_workload(force=True)
instance.delete_workload()
except ResourceNotDeleted:
raise ResourceNotDeleted("Workload deletion was unsuccessful")

Expand Down
Loading