Skip to content

Commit

Permalink
removing duthost
Browse files Browse the repository at this point in the history
  • Loading branch information
selldinesh committed May 31, 2024
1 parent 131e813 commit f4661f7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/common/snappi_tests/snappi_fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,15 @@ def snappi_api_serv_port(duthosts, rand_one_dut_hostname):


@pytest.fixture(scope='module')
def snappi_api(duthosts,
rand_one_dut_hostname,
snappi_api_serv_ip,
def snappi_api(snappi_api_serv_ip,
snappi_api_serv_port):
"""
Fixture for session handle,
for creating snappi objects and making API calls.
Args:
duthost (pytest fixture): The duthost fixture.
snappi_api_serv_ip (pytest fixture): snappi_api_serv_ip fixture
snappi_api_serv_port (pytest fixture): snappi_api_serv_port fixture.
"""
duthost = duthosts[rand_one_dut_hostname]
location = "https://" + snappi_api_serv_ip + ":" + str(snappi_api_serv_port)
# TODO: Currently extension is defaulted to ixnetwork.
# Going forward, we should be able to specify extension
Expand Down

0 comments on commit f4661f7

Please sign in to comment.