Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
Updated scenarios
Browse files Browse the repository at this point in the history
Signed-off-by: Ram Reddy Amanaganti <[email protected]>
  • Loading branch information
ramreddya authored and pmyjavec committed Oct 11, 2021
1 parent b8a4cdd commit 46c48a2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion features/deployment.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Feature: Manage deployments
Scenario: Try retrieve a deployment that does not exist
Given A deployment called fog does not exist
When The user attempts to retrieve the deployment fog
Then returns None
Then None is returned for the deployment


Scenario: Create a deployment and wait for it to become ready
Expand Down
2 changes: 1 addition & 1 deletion features/namespace.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Feature: Interact with the Namespace API
Scenario: Try retrieve a namespace that does not exist
Given a namespace called rain does not exist
When the user attempts to retrieve the namespace rain
Then None is returned
Then None is returned for the namespace

Scenario: Create a namespace and check it exists
Given a namespace called washington does not exist
Expand Down
2 changes: 1 addition & 1 deletion features/steps/deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def step_impl(context, deployment_name):
context.get_resp = deployment.get(context.k8s_v1_apps_client, deployment_name)


@then(u"returns None")
@then(u"None is returned for the deployment")
def step_impl(context):
assert context.get_resp is None, "Did not return None"

Expand Down
2 changes: 1 addition & 1 deletion features/steps/namespace.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def step_impl(context):
context.get_rain_resp = namespace.get(context.k8s_v1_core_client, "rain")


@then(u"None is returned")
@then(u"None is returned for the namespace")
def step_impl(context):
assert context.get_rain_resp is None, "Did not return None"

Expand Down

0 comments on commit 46c48a2

Please sign in to comment.