from collections import defaultdict

from behave import given, then, when, step, use_step_matcher


use_step_matcher("parse")


@given('something with the agent')
def step_something_with_the_agent(context):
    """
    :type context: behave.runner.Context
    """
    pass

from collections import defaultdict

from behave import given, then, when, step, use_step_matcher


use_step_matcher("parse")


@given('an agent is running on {ip}')
def step_an_agent_is_running_on_ip(context, ip):
    """
    :type context: behave.runner.Context
    :type ip: str
    """

    pass

Add ip argument to agent running step
Add ip argument to agent running step

  from collections import defaultdict
  
  from behave import given, then, when, step, use_step_matcher
  
  
  use_step_matcher("parse")
  
  
- @given('something with the agent')
- def step_something_with_the_agent(context):
+ @given('an agent is running on {ip}')
+ def step_an_agent_is_running_on_ip(context, ip):
      """
      :type context: behave.runner.Context
+     :type ip: str
      """
+ 
      pass
  
Add ip argument to agent running step
## Code Before:
from collections import defaultdict

from behave import given, then, when, step, use_step_matcher


use_step_matcher("parse")


@given('something with the agent')
def step_something_with_the_agent(context):
    """
    :type context: behave.runner.Context
    """
    pass

## Instruction:
Add ip argument to agent running step
## Code After:
from collections import defaultdict

from behave import given, then, when, step, use_step_matcher


use_step_matcher("parse")


@given('an agent is running on {ip}')
def step_an_agent_is_running_on_ip(context, ip):
    """
    :type context: behave.runner.Context
    :type ip: str
    """

    pass
